Search code examples
c#.net-assemblyembedded-resource

C# resource not embedded if contains language code in file name


All files have same setting for Build Action : Embedded Resource

The files with language code in the file name are not embedded as resource.See the print screen from ILSpy. Only the file without language (for testing ) it's embedded.

enter image description here


Solution

  • Those language-specific resources are compiled to separate assemblies which you can find under bin/Debug/{lang}/{resources}.dll.