且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将Visual Studio 2015中的C#windows窗体程序直接发布到网络上?

更新时间:2023-02-11 07:59:30

它被称为点击一次部署:



点击一次部署概述 [ ^ ]



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[^]