c# - Filehelpers Publish Release file without need for DLL -
this might bit of noob question..
i've coded simple file conversion app in c sharp (.net 4, vs2010) uses filehelpers library. i've got reference library in project references. when publish project in release mode, outputs filehelpers.dll file executable together, , executable won't work unless it's in same folder dll.
i tried setting copy local false, still doesn't work. there way package library part of exe file?? simple app meant distributed , having required dll floating around huge downside.
thanks t
got working after fiddling ilmerge not running on .net v4. here command future thread visitors:
ilmerge /targetplatform:v4,c:\windows\microsoft.net\framework\v4.0.30319 /out:merged.exe /log original.exe filehelepers.dll
you may want in project property settings can custom copy files ever want post build if looking move files around after build. if looking include .dll in .exe here
Comments
Post a Comment