如何将Visual Studio 2015中的C#windows窗体程序直接发布到网络上? [英] How to publish C# windows forms program from visual studio 2015 directly to the web?

查看:90
本文介绍了如何将Visual Studio 2015中的C#windows窗体程序直接发布到网络上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

然后获取下载链接(例如.rar或.exe)



程序本身不是Web应用程序,它是Windows窗体应用程序,我想将它上传到互联网某个地方,并有一个下载它的链接,然后当我更改它时,我再次发布它,它被新版本取代,正如你在我为Google Site所做的那样它,我有一个超链接,它下载,但我不想将其作为.rar附件上传到谷歌网站,我想按发布,选择一个在线的地方,然后点击下一步,然后输入一个FTP服务器或它是什么,它自动发布和上传,并获得一个链接下载它并将链接放在我的网站在谷歌网站,超链接链接到Windows窗体应用程序存储在互联网上的地方下载它,请查看我的Google网站。



什么是Microsoft Azure?这是我可以自动上传我发布的程序的地方吗?我可以自动将我的程序从Visual Studio 2015 C#发布到Google协作平台吗?我厌倦了将程序发布到我的硬盘上,使其成为.rar,将其作为附件手动上传到Google协作平台,然后在我的网站上建立链接以下载它,对于每个版本我再次执行此过程,我想要发布该程序,并在同一个热链接中更新(更新版本)互联网..



如何自动更新最终用户的程序当最终用户按或在后台时?



这是我的程序:

sites.google.com/site/caffeineforwindows/



我尝试了什么:



我试过在Microsoft Azure中寻找一些东西但它看起来很复杂。

解决方案

它被称为点击一次部署:



点击一次部署概述 [ ^ ]



Google是你的朋友。


如果你正在寻找一个更简单的ClickOnce替代品,试试Squirrel:

Squirrel:它就像ClickOnce但是Works ™ [ ^ ]

使用入门指南 [ ^ ]

And then get a link to download it (as .rar or .exe for example)

The program itself is not a web app, it's a Windows Forms app, I want to upload it to the internet somewhere, and have a link to download it, and then when I change it, I publish it again and it gets replaced by the newer version, as you see in the Google Site I made for it, I have a hyperlink, where it gets downloaded, but I dont want to upload it as a .rar attachment to the Google Site, I want to press publish, and choose an online place, and then click next, and enter an FTP server or whatever it is, and it gets published and uploaded automaticlly, and get a link to download it and put the link in my site in Google Sites, the hyperlink links to the place where the Windows Forms App is stored in the internet to download it, please check out my Google Site.

What is Microsoft Azure? is it a place where I can upload my published program automatically? can I publish my program from Visual Studio 2015 C# to Google Sites automatically? i'm sick of publishing the program to my hard drive, making it a .rar, upload it manually to Google Sites as attachment, and then make a link to download it in my site, for each version i do this process again, i want to publish the program and it gets updated (to a newer version) in the internet in the same hotlink..

What about also updating the program for end users automatically when the end user presses or in the background?

Here's my program:
sites.google.com/site/caffeineforwindows/

What I have tried:

I tried looking for something in Microsoft Azure but it looks complicated.

解决方案

It's called "click-once deployment":

Click-Once Deployment Overview[^]

Google is your friend.


If you're looking for a simpler alternative to ClickOnce, try Squirrel:
Squirrel: It's like ClickOnce but Works™[^]
Getting Started Guide[^]


这篇关于如何将Visual Studio 2015中的C#windows窗体程序直接发布到网络上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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