开发者

ClickOnce - Publishing folder vs. Installation folder

开发者 https://www.devze.com 2022-12-27 02:22 出处:网络
Could someone tell me the difference be开发者_StackOverflow社区tween the publishing folder location and the installation folder URL? Is there any reason why these two wouldn\'t be the same?You enjoyed

Could someone tell me the difference be开发者_StackOverflow社区tween the publishing folder location and the installation folder URL? Is there any reason why these two wouldn't be the same?


You enjoyed my answer in the MSDN Forums so much, I'm posting the link to the answer here as well. ;-)


If you are publishing and installing from the same URL, you can just fill in the publishing file location and be done.

The reason there are two is so if you want to publish to one place, but have an installation URL that's different, you can do that.

For example, you might want to publish to your server using ftp, in which case the publishing file location will be ftp://myserver/myvirtualfolder/myapp and the installation url might be http://myserver/myapp

You might want to publish to a folder on your local disk and do something to the deployment before pushing it to the webserver. In this case, you might publish to C:\_Publish\MyApp\, add some files, re-sign the manifest, and copy it to \inetpub\MyApp\, and the installation url would be http://myserver/myapp

0

精彩评论

暂无评论...
验证码 换一张
取 消