bjblackmore
asked on
Combine/Merge VB.Net Application & Resources into Single EXE
I have a VB.NET application, written in visual studio 2012 and targetted to .NET 3.5. I've set it up to detect multiple languages (English, French, Italian, Spanish & German), using the resource file method. The app works, and I've published it. But I end up with 1 application.exe (200kb), plus 4 directories with an application.resources.dll file (100kb) in. I'd like to deploy this as a small standalone app. Is it possible to combine/merge all files into 1 application.exe? I've tried using MS's ILMERGE.exe and it creates a single 600kb merged-application.exe but when I run on a foreign language system, it only runs in English not with the localization that the non merged application does.
Files I have are:
application.exe
\FR\application.resources. dll
\IT\application.resources. dll
\DE\application.resources. dll
\ES\application.resources. dll
I tried ILMERGE.exe with the following command line:
ilmerge.exe c:\temp\application.exe c:\temp\fr\application.res ources.dll c:\temp\es\application.res ources.dll c:\temp\de\application.res ources.dll c:\temp\it\application.res ources.dll /out:c:\temp\NewApp.exe
NewApp.exe is created, but resource language don't seem to work now.
How can I get a single EXE with all the language resources working?
Files I have are:
application.exe
\FR\application.resources.
\IT\application.resources.
\DE\application.resources.
\ES\application.resources.
I tried ILMERGE.exe with the following command line:
ilmerge.exe c:\temp\application.exe c:\temp\fr\application.res
NewApp.exe is created, but resource language don't seem to work now.
How can I get a single EXE with all the language resources working?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.