Click Once Migrate URL

和自甴很熟 提交于 2019-12-11 05:17:34

问题


I have a Click Once App that has been published to the same location for a couple years, I now want to post an update to the program but want to migrate it to another url, is it a 2 step deployment? I dont want to have to have the users change the url location and have 2 apps installed, is there a simple way to do this wothout getting into redirects and things of that sort?


回答1:


Go to the Publish page of your project options, and click on the Updates button. Change the Update location to the URI you want to publish to from now on. Publish one last version of your app to the original URI with those settings.

Now change the Publish Location back on the Publish tab to the same URI as your "update location" and publish the new version to the new location.

Any current users of your app will update to the next version from the original URI, and will now have an app that knows to look at the new location for the next version.



来源:https://stackoverflow.com/questions/1711649/click-once-migrate-url

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