我怎么能输出从Visual Studio 2012 C#应用程序在其他计算机上运行? [英] how can I export a C# application from Visual Studio 2012 to run in other computers?

查看:192
本文介绍了我怎么能输出从Visual Studio 2012 C#应用程序在其他计算机上运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是做了我的第一个C#应用程序在Visual Studio 2012中,我想将其导出以某种方式让其他人能够在他们的电脑使用(包括电脑没有的Visual Studio 2012)。我该怎么办呢?我在C#新我找不到任何东西,我能理解。有人可以解释或说明某些网站上它是怎样工作的(也许说教)解释?我只是通过由C / C ++程序了,他们我只是需要.exe文件,但是,根据我能找到的,我需要别的东西来一个C#程序发送给其他人使用。
索里的英语不好,并感谢那些谁帮助。

I just made my first C# application in Visual Studio 2012 and I want to export it in some way so other people could use it in they computers (including computers without Visual Studio 2012). How can I do it? I'm new at C# and I couldn't find anything that I could understand. Can someone explain or indicate some site with a good (and maybe didactic) explanation on how it works? I have only made C/C++ programs by now, and they I just needed the .exe file, but, based on what I could find, I need something else to send a C# program to others to use. Sory for the bad English and thanks for those who help.

推荐答案

右键单击该项目在VS 2012年,并选择从上下文菜单中发布... 。发布到一个文件,您可以创建一个安装程序:

Right-click the project in VS 2012, and choose Publish... from the context menu. Publishing to a file lets you create an installer:


  • 选择在文件系统中的位置,你想保存安装程序

  • 点击 [完成]

  • 等待发布操作完成

A 的Setup.exe 安装程序文件将在你在第一步中所选择的位置创建的发布向导。分享的人,你想给你的应用程序的人安装。

A Setup.exe installer file will be created at the location that you have selected in the first step of the publish wizard. Share the installer with the people to whom you would like to give your application.

这篇关于我怎么能输出从Visual Studio 2012 C#应用程序在其他计算机上运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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