如何在Visual Studio 2010中创建项目的.exe? [英] How to create an .exe of the project in Visual Studio 2010?

查看:119
本文介绍了如何在Visual Studio 2010中创建项目的.exe?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Visual Studio中创建了一个项目,我想创建一个项目的exe。如何在Visual Studio 2010中创建项目的.exe?

解决方案

注意:如果您进入项目的Bin文件夹,则会有包含项目可执行文件的文件夹。 Debug文件夹有一些额外的东西用于调试。您只需双击那里的应用程序,它就会运行。只需将文件夹的内容复制到您要运行它的位置即可。如果你想安装,那么你必须做更多的工作。如果你有一个非常简单的项目,可能只需要复制exe,就是它。


假设项目是应用程序而不是类库或其他类型的不生成exe文件,只需单击Build。


你要做的就是去构建 - >发布。您将被要求被要求提供一些简单的东西以及您要存储应用程序的位置,浏览您要放置它的位置。



我希望这样正是你要找的。

I have created a project in Visual Studio and i want to create an exe of the project.How to create an .exe of the project in Visual Studio 2010?

解决方案

Note: If you go into the Bin folder of the project, there will be folders that contains executables for the project. The Debug folder has some extra stuff for debugging. You can just double click on the application there, and it will run. Just have to copy contents of folder to where you want to run it. If you want an install, then you have to do some more work. If you have a very simple project, may only need to copy the exe, and that is it.


Assuming the project is an "Application" and not a class library or other type that does not generate an exe file, you just click Build.


What you have to do is go to build-->publish. you will be asked be asked to few simple things and the location where you want to store your application, browse the location where you want to put it.

I hope this is what you are looking for.


这篇关于如何在Visual Studio 2010中创建项目的.exe?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆