How to combine all my location satellite assemblies in EXE?

I started to add several languages ​​to my project using resx files (for example, MyText.resx, MyText.ru-RU.resx, etc.).

When I compile, I get files like this:

MyApp.exe ru-RU \ MyApp.resources.dll ES-ES \ MyApp.resources.dll

Is there any easy way to get everything compiled into exe? This is just a small utility that I distribute in a zip file, and it was nice that it did not have many related files!

I read about AssemblyLinker, but I'm not sure if it does what I want. The EXE should behave as if these folders were there, and load the correct localizations for the user language.

+3
source share
1 answer

You can use Netz "to reassemble assemblies after compilation. They inform in their help file that localized assembly assemblies work without failures with .Net 1.1, and there is a workaround for future versions.

+3
source

Source: https://habr.com/ru/post/1724789/


All Articles