Embedding DLL's into .exe in in Visual C# 2010

前端 未结 8 2298
臣服心动
臣服心动 2020-12-14 10:31

I\'m working on a C# program that uses iTextSharp.dll and WebCam_Capture.dll. When I build the program, it creates executable in the debug folder and it also copies these tw

8条回答
  •  一向
    一向 (楼主)
    2020-12-14 11:19

    You didn't reference using WPF, but if you are, this could be the cause of your error. If not, ILMerge should work fine for you. If you are using WPF, here is a solution that works well:

    http://blogs.interknowlogy.com/2011/07/13/merging-a-wpf-application-into-a-single-exe/

提交回复
热议问题