Karsten
Karsten

Reputation: 1866

How to embed localizations in .NET assemblies

I created a .NET class library in C# with some resources for localization and already translated them to different languages and put them into different *.resx-files. But when I compile the assembly, only the default *.resx-files are compiled into the resulting dll and the others are compiled into different dlls in different sub folders.

I know this is the default behavior of Visual Studio but for me this is not very useful, because I do not want to distribute many files in many folders but just one independent dll.

So I need to know what I have to change to compile everything into one dll.

Upvotes: 0

Views: 1854

Answers (1)

Jakub Konecki
Jakub Konecki

Reputation: 46008

You can use IL Merge to combine multiple assemblies into one .dll file.

Upvotes: 1

Related Questions