-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Open
Labels
area-NativeAOT-coreclruntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
Description
Describe the bug
Publishing an AOT app will include satellite resource assemblies (for example <language>\AppName.resources.dll in the output folder. It appears that these are also embedded in the NativeAOT executable, the app can still show localized strings even if these are deleted.
Ideally if these satellite assemblies are not needed, they should not be copied to the publish folder. As it is, it's confusing and makes it look like they need to be deployed with the app.
To Reproduce
- Create a console app
- Set
PublishAotto true in the .csproj file - Add a resx file and a localized resx file with a string resource in them (for example Strings.resx and Strings.es.resx)
- Publish the app
Expected: No language subfolders and satellite assemblies in the publish folder
Actual: Language subfolders with satellite assemblies are present in the publish folder
Further technical details
.NET SDK version: 10.0.102
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-NativeAOT-coreclruntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
Type
Projects
Status
No status