ClickOnce 发布位置更改仍会查找旧位置
我们有一个原型应用程序,最初发布到 AWS 上托管的外部服务器(为了讨论起见,假设它位于 http 上: //prototypes.mysever.com/MyApp/)。
原型大小开始增加,因此为了速度,我们将其移动到内部服务器(假设 http://internal/MyApp/)。
我对托管原始发布应用程序(外部)的 IIS 服务器进行了一些清理,并删除了该应用程序。现在,如果我们尝试安装应用程序的副本,它会失败,因为它想要与原始服务器通信,即使我们在其他地方发布了它(大约 80 个版本)。
在 .application 文件中,我注意到对旧服务器的引用,但更改它并没有解决我们的问题。
有没有办法阻止它寻找旧服务器?
We have a prototype application that was originally published to an external server hosted on AWS (for discussions sake assume this was on http://prototypes.mysever.com/MyApp/).
The prototype size started to mount up so for speed we moved it to an internal server (assume http://internal/MyApp/).
I did some clearing out of our IIS server that was hosting the original published app (external) and removed the application. Now if we try to install a copy of the app, it fails, because it wants to talk to the original server even though we published it elsewhere (for like 80+ versions).
In the .application file I noticed a reference to the old server, but changing this didn't solve our problems.
Is there a way to stop it looking for the old server?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
抱歉,
我删除了上一个答案,因为我误解了这个问题。是的,有一种方法可以更改更新位置。
打开项目属性页面,然后转到“发布”选项卡。
单击“更新...”按钮。
在更新屏幕上,验证更新位置是否指向新位置。
Sorry,
I deleted my last answer, because I misunderstood the question. Yes, there is a way to change the update location.
Open the Project properties page, and go to the Publish tab.
Click the Updates... button.
On the updates screen, verify that the update location is pointing to the new location.