How can I get MSBuild to increment the ClickOnce publish revision version number on a build server?
问题 We have an NAnt script that checks out from CVS and then runs MSBuild to publish the application. The problem is we have to remember to always increment the version in Visual Studio. We have the option to auto increment this on publish, but this gets wiped on the next checkout and I would rather not have to get the build script to check in the project file. Is there a simple way to do this? 回答1: Updating the MinimumRequiredVersion Automatically Introduction to Project Editor In Solution