I have wondered for a long time, what are these folders for? When I delete them my program seems to run just fine. Is it for localizing error messages or something?
yep, exactly that! The compiled resx resources are in localized dlls in those directories, and the resource-loader subsystems know to try and look in the appropriate one before falling back to the built-in English.
1 Like
Thank you! Is there any way to exclude them?
It appears there’s a MSBuild property you can set to strip out these ‘satellite’ assemblies from the build/publish: https://github.com/dotnet/docs/issues/18995
1 Like