ravimevcha
Journeyman
Merge an .exe and a .dll into one .exe
download ILMerge
*research.microsoft.com/~mbarnett/ilmerge.aspx
put "ILMerge.exe" in your \WINNT directory
In VS.NET, right click project, Properties, Common Properties, Build Events
In "Post-build Event Command Line" enter:
ilmerge /out:$(TargetDir)YOURAPPNAME.exe $(TargetPath) $(TargetDir)YOURDLLNAME.dll
Then compile the Release version (not the debug version).
In your "bin\Release" directory, you will find a YOURAPPNAME.exe which can be run on its own without the .dll
download ILMerge
*research.microsoft.com/~mbarnett/ilmerge.aspx
put "ILMerge.exe" in your \WINNT directory
In VS.NET, right click project, Properties, Common Properties, Build Events
In "Post-build Event Command Line" enter:
ilmerge /out:$(TargetDir)YOURAPPNAME.exe $(TargetPath) $(TargetDir)YOURDLLNAME.dll
Then compile the Release version (not the debug version).
In your "bin\Release" directory, you will find a YOURAPPNAME.exe which can be run on its own without the .dll