本文介绍了单击一次迁移URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Click Now应用程序,该应用程序已经发布到同一位置数年了,现在我想发布该程序的更新,但想将其迁移到另一个URL,这是一个两步部署吗?我不想让用户更改url位置并安装2个应用程序,是否有一种简单的方法来完成重定向和此类操作?

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?

推荐答案

转到项目选项的发布页,然后单击更新按钮。从现在开始,将更新位置更改为您要发布到的URI。使用这些设置将应用的最后一个版本发布到原始URI。

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.

现在,重新更改发布位置 发布标签到与更新位置相同的URI,然后将新版本发布到新位置。

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.

您应用的当前任何用户都将从原始URI更新到下一个版本,并且现在将拥有一个知道可以查看下一个版本的新位置的应用。

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.

这篇关于单击一次迁移URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-27 23:34