如何生成exe文件? [英] How generate exe file ?

查看:122
本文介绍了如何生成exe文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我用 C# MS Access 完成了申请,之后我想要使用 Visual Studio 2010生成可执行文件以便将其安装在另一台机器上



如何生成可视化工作室C#的exe文件项目?



谢谢。

Hello everyone,

I finished a application with C# and MS Access, after that i want to generate the executable file with Visual Studio 2010 for to install it in another machine

How i can generate a exe file the visual studio C# project ?

Thank you.

推荐答案

在您的解决方案中添加一个新项目。

右键单击Solution Explorer窗格中的Solution name,然后选择Add ... New Project

在出现的对话框中,查看左侧的Installed Templates,然后其他项目类型......设置和部署

选择合适的安装程序类型(Visual Studio Installer...安装向导是一个不错的选择,给它一个明智的名字,然后按OK。

从那里开始就应该很明显。
Add a new project to your solution.
Right click the Solution name in the Solution Explorer pane, and select "Add...New Project"
In the dialog that appears, look under "Installed Templates" on the left, then "Other Project Types"..."Setup and Deployment"
Select a suitable installer type ("Visual Studio Installer"..."Setup Wizard" is a good choice", give it a sensible name, and press OK.
It should all be obvious from there.


如果你能够运行应用程序,那么EXE文件已经创建了。你只需要找到它。你会发现d只需在项目目录中进行文件搜索,但您也可以查看项目的输出路径属性。



-SA
If you were able to run the application, EXE file was already created. You just need to find it out. You could simply do a file search in a directory of your project, but you could also look at the "Output path" property of your project.

—SA


您可以使用适用于Visual Studio的InstallShield限制版 [ ^ ]


这篇关于如何生成exe文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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