开发者

Build a Portable Visual Studio 2010 Application

How do you compile and export a finished C# program in Visual Studio in a single executabl开发者_运维知识库e?


As soon as you press the compile button an executable file is created inside the bin/debug-folder of where you save your project. Unless you've created a class-library the program is just that one .exe file. For every class-library you create there will be a .dll file so as long as you don't use class-libraries you'll be fine.


You can merge libraries into your exe using a variety of tools.

See Merging dlls into a single .exe with wpf for an example.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜