Different ClickOnce deployment URL for each build?
I'm working with C#, VS and ClickOnce. Is there way to specify which URL the ClickOnce should publish to based on the build name? Say I have Build X and Build Y - whenever I select to publish Build X, I want the ClickOnce URL field to be pre-populated with a URL just for Build 开发者_Go百科X and when I select Build Y, it's pre-populated just for Build Y. Right now it just has the URL for whatever was published more recently.
I don't know of a way to change the URL in visual studio programmatically. You could do the build using msbuild and sign the deployment using mage, and automate it this way.
精彩评论