ClickOnce - Publishing folder vs. Installation folder

空扰寡人 提交于 2019-12-30 07:51:18

问题


Could someone tell me the difference between the publishing folder location and the installation folder URL? Is there any reason why these two wouldn't be the same?


回答1:


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



来源:https://stackoverflow.com/questions/2639910/clickonce-publishing-folder-vs-installation-folder

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!