Including dll's in the exe? [duplicate]

2019-01-18 08:29发布

问题:

Possible Duplicate:
.NET windows application, can it be compressed into a single .exe?

I have a project that relies on several dlls and once I compile it, it requires that I run the .exe in the same folder with the dlls. Can I package them together so I don't have to do that?

For reference, I'm using C#

回答1:

You can use ILMerge to combine them into one.



标签: c# .net-3.5 dll