ClickOnce-发布文件夹与安装文件夹 [英] ClickOnce - Publishing folder vs. Installation folder

查看:107
本文介绍了ClickOnce-发布文件夹与安装文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以告诉我发布文件夹位置和安装文件夹URL之间的区别吗?

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?

推荐答案

您在MSDN论坛中非常喜欢我的回答,我发布了链接到答案也在这里。 ;-)

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

如果要从同一URL发布和安装,则只需填写发布文件的位置,然后

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

之所以有两个原因是,如果您要发布到一个地方,但是安装URL不同,则可以这样做。

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.

例如,您可能要使用ftp发布到服务器,在这种情况下,发布文件位置将为 ftp:// myserver / myvirtualfolder / myapp ,安装网址可能是 http:// myserver / myapp

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

想要发布到本地磁盘上的文件夹并在将其推送到Web服务器之前对部署进行一些操作。在这种情况下,您可以发布到 C:\_Publish\MyApp\ ,添加一些文件,对清单进行重新签名,然后将其复制到 inetpub\MyApp\ ,安装网址为 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

这篇关于ClickOnce-发布文件夹与安装文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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