如何在VS 2015中发布C#控制台项目 [英] How to publish C# console project in VS 2015
问题描述
您好,
所以我对在VS 2015中发布控制台项目有一些疑问。
运行我的应用程序的每个人都需要有什么像.Net Framework安装吗?
如果我想将它上传到某些类似mediafire的话,最好的发布方式是什么?
最后还请解释如何发布它,因为我只能找到教程以及如何使用VS 2010版本。
谢谢非常感谢!
我尝试过的事情:
这样做与MS VS 2010 IDE中的方法相同。
引用:运行我的应用程序的每个人都需要安装.Net Framework这样的东西吗?
是的。如果没有安装适当的.NET框架,C#将无法运行。但是,任何正确的安装程序都会自动下载并安装在没有它的计算机上,各种版本的Windows包含各种版本的.NET操作系统。
引用:如果我想将它上传到某些类似mediafire,那么发布它的最佳方法是什么?
使用安装程序 - 这可能会有所帮助:如何:使用发布向导发布ClickOnce应用程序 [ ^ ]
引用:还请解释如何发布它,因为我只能找到教程以及如何使用VS 2010版本。
如果您想要走这条路线,这个VS扩展可能会有所帮助: Microsoft Visual Studio 2015安装程序项目 [ ^
Hello,
So I have some questions about publishing a console project in VS 2015.
Does everyone who runs my application need to have anything like .Net Framework installed?
Whats the best way to publish it if I want to upload it to somehwere like mediafire?
And finally please also explain how to publish it because I can only find tutorials and how to's to the VS 2010 version.
Thank you very much!
What I have tried:
Doing it the same way as in MS VS 2010 IDE.
Quote:Does everyone who runs my application need to have anything like .Net Framework installed?
Yes. C# will not run without the appropriate .NET framework installed. However, any "proper" installer will automatically download and install that on computers that do not have it, and various version of Windows include various versions of .NET with the OS.
Quote:Whats the best way to publish it if I want to upload it to somehwere like mediafire?
Use an installer - this may help: How to: Publish a ClickOnce Application using the Publish Wizard[^]
Quote:please also explain how to publish it because I can only find tutorials and how to's to the VS 2010 version.
This VS extension may help if you want to go that route: Microsoft Visual Studio 2015 Installer Projects[^]
这篇关于如何在VS 2015中发布C#控制台项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!