How to make a Windows Forms application (C #) in a single exe file?

I am using Visual Studio 2013

I just made the first Windows application (forms of Windows) with it, and if possible, I would like to insert libraries and config / manifest files, etc. into one executable file for greater convenience. It can be done? If so, how?

Thank you so much

+4
source share
1 answer

bin\Release. vshost Visual Studio, . pdb . -, . , ILMerge.

, , , (zip 7z), ILMerge , .

UPDATE

, , WinForms , JSON.NET(Release build):

  • Newtonsoft.Json.dll
  • Newtonsoft.Json.xml
  • WindowsFormsApplication1.exe
  • WindowsFormsApplication1.exe.config
  • WindowsFormsApplication1.pdb
  • WindowsFormsApplication1.vshost.exe
  • WindowsFormsApplication1.vshost.exe.config
  • WindowsFormsApplication1.vshost.exe.manifest

, , , Newtonsoft.Json.dll WindowsFormsApplication1.exe

+2

All Articles