You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
authored
Add NativeAOT + satellite assembly integration test (#53971)
Adds an SDK regression test for dotnet/runtime#127089
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
Co-authored-by: Sven Boemer <sbomer@gmail.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
// NativeAOT embeds satellite assemblies into the native binary, so they
1132
+
// should NOT appear as separate files in the publish directory (dotnet/runtime#124191).
1133
+
File.Exists(Path.Combine(publishDirectory,"fr",$"{projectName}.resources.dll")).Should().BeFalse("fr app satellite should be embedded, not published separately");
1134
+
File.Exists(Path.Combine(publishDirectory,"fr","System.Spatial.resources.dll")).Should().BeFalse("fr package satellite should be embedded, not published separately");
1135
+
File.Exists(Path.Combine(publishDirectory,"de","System.Spatial.resources.dll")).Should().BeFalse("de package satellite should be embedded, not published separately");
1136
+
1137
+
// Satellite for a non-selected culture (ja) should be absent
1138
+
File.Exists(Path.Combine(publishDirectory,"ja","System.Spatial.resources.dll")).Should().BeFalse("ja System.Spatial satellite should be filtered out");
0 commit comments