Simple question. I use Visual studio and I\'ve just installed subversion, how can i force the project to be build with msbuild, and if successfully build commit it else warn
The method Stefan suggested seems to be potentially the best for you.
However an alternative depending on what your trying to gain, might be to run with some sort of Automated Continuous Integration so every time a commit is made a build / test will be run, then if there are problems it could raise an alert or whatever. Since your using visual studio guessing your using .NET so CruiseControl might be worth a look.