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?
Asked
Active
Viewed 2,427 times
0

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 Answers
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:

Nico Heidtke
- 525
- 4
- 7
-
1The second link is dead, this one isn't https://stackoverflow.com/a/3314213/366064 – Bizhan Nov 06 '20 at 23:56