Change ClickOnce Publish Folder Location
How can I change the Publishing Folder of already deployed applications? E.G.
Currently the path is
\\Server1\App
but I want to change this to
\\Server2\App
For performance reasons (Server1开发者_运维百科 is becoming overloaded) and therefore I'm planning to move majority of our shared folders including the Apps folder to a different server
You can't just change the URL and expecct it to work. The deployment provider URL is part of the identity of the deployment. If you change it by just changing it and deploying a new version, your users will have to uninstall and reinstall.
This article shows a sneaky (but effective) way to move it.
精彩评论