WPF. Embed DLL into EXE -
i'm looking embed dll exe of wpf application have 1 file distribute, i.e. .exe. of stuff on head i've followed steps outlined in http://richarddingwall.name/2009/05/14/wpf-how-to-combine-mutliple-assemblies-into-a-single-exe/ still can't work. ideas or help on this? long dll in same folder exe works if remove dll, fail. however, don't want dll nowadays @ rather embedded within exe. i've searched other posts here recommend solution problem compiles fine, it's doesn't work , don't know how go fixing it.
1) have added dll in question resource project , set build action embedded resource
2) code outlined in above link, i've added app.xaml.cs file using system.reflection & system.io
is there esle should doing work?
thanks
shav
you utilize ilmerge. utilize time merge dll's executable's , other libraries.
here's how someone else used ilmerge accomplish this, considered duplicate question.
wpf dll embed exe
No comments:
Post a Comment