0

I created some resources files for each language. When I build it creates a folder with a file, like en/myapp.resources.dll. Is there a way to embed this in the .exe so that I don't need this extra file?

Fabricio
  • 7,705
  • 9
  • 52
  • 87
  • It's dll with project library? Then: http://research.microsoft.com/en-us/people/mbarnett/ilmerge.aspx –  Sep 13 '14 at 11:23

1 Answers1

1

Have a look at this:

http://msdn.microsoft.com/en-us/library/vstudio/0c6xyb66%28v=vs.100%29.aspx

It describes the file properties you can set on any file in VisualStudio.

Include your resource files in your solution and set the Build Action property to "Embedded Resource". You will probably next wonder how to access them from your code. Here's a description:

http://blogs.msdn.com/b/alexdan/archive/2007/12/19/loading-embedded-resources-in-c-using-getmanifestresourcestream.aspx

Nico Heidtke
  • 525
  • 4
  • 7