开发者

Build a Portable Visual Studio 2010 Application

开发者 https://www.devze.com 2023-01-28 10:34 出处:网络
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-

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

精彩评论

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