Search code examples
c#embedsatellite-assembly

How to embed a satellite assembly into the EXE file


I got the problem that I need to distribute a C# project as a single EXE file which is not an installer but the real program. It also needs to include a translation which currently resides in a subdirectory.

Is it possible to embed it directly into the binary?


Solution

  • Here it is the simplest solution which I saw in the Internet:

    also handy implementation of this solution: http://code.google.com/p/costura/wiki/HowItWorksEmbedTask