0

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

Ross Ridge
  • 38,414
  • 7
  • 81
  • 112
czlatea
  • 1,131
  • 13
  • 20
  • As Andrii Litvinov mentioned, resource are compiled in separated assemblies. Maybe this thread could help having resources in main assembly: http://stackoverflow.com/questions/1952638/single-assembly-multi-language-windows-forms-deployment-ilmerge-and-satellite-a/1955060#1955060 – czlatea Mar 11 '17 at 09:59

1 Answers1

1

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

Andrii Litvinov
  • 12,402
  • 3
  • 52
  • 59
  • Mean time I found out that too. Is there any way to disable that behavior and to have resources embedded in main assembly? – czlatea Mar 11 '17 at 09:32
  • I am not aware of such possibility out of the box. There was similar question and Fody was suggested as a solution http://stackoverflow.com/questions/22663001/how-can-i-embed-c-sharp-assembly-resources-in-the-same-assembly. – Andrii Litvinov Mar 11 '17 at 14:05