R – Development Experience with using MSBuild/Nant vs Visual Studio 2005/2008

build-automationbuild-processmsbuildnantvisual studio

I work on a project with 4 other devs. We currently use Visual Studio to build our solution with some Pre and Post build events.

I would like to move to a more powerful build system such as Nant or MsBuild.

What are the pros and cons of the two approaches?

How is the developer experience using Nant/MsBuild? Is it easy to debug the application by pressing F5? Is there still a nice list of files in the solution explorer? Or do I need to get into an XML file every time I need to add a .cs file to my project?

How does this all integrate with Source Control? (I'm currently using SourceGear Vault.)

I'm trying to gather enough information so that I can make an informed decision.

Best Answer

One thing to note. If you're using VS2005 or later, with the exception of C++, you're already using MsBuild. The .csproj and .vbproj files are actually MsBuild files under the hood. VS hosts MsBuild in order to do a build.

I can't provide much / any feedback about Nant though.