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

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -