I am trying to merge a single .dll into the .exe by using the PostBuildEvent property..
I did put ilmerge.exe in my Windows folder
ilmerge /out:$(TargetDir)BootModeTest.exe $(TargetPath) $(TargetDir)Interop.IWshRuntimeLibrary.dll
I am getting PostBuildEvent faild with error code '1" Unspecified Error. I did build my project with .Net Fraemwork 4.0. Is this the issue? Any insight would be awesome!