Monday, May 03, 2010

What do you need to build VC++ in 2010?

As you probably know, Visual C++ projects in VS 2010 use MSBuild to build. That works fine when you have Visual Studio installed, but can you build your C++ stuff without Visual Studio installed? One could build C#/VB projects with only .NET Framework installed, and prior to 2010, to build VC++ you only needed Windows SDK (that included headers, libraries, compilers and other goodies). So what is the story in 2010?

It turns out the story is similar in 2010 - you will need to have Windows SDK (for C++ specific bits) and .NET Framework 4.0 for vcxproj files. The only fly in the ointment is that Windows SDK is yet to be released (with target date somewhere in June 2010), so for now to build your C++ projects you will need to have Visual Studio installed.

Mirror from my MSDN blog

MSBuild resources reference page

.NET 4.0 and MSBuild 4.0 are out there now, but resources are still ramping up. So as a quick time saver, I have created the biggest most complete no-nonsense 100% satisfaction guarantee MSBuild resources reference page. :) That will be updated as newer content comes online. Enjoy!

Mirror from my MSDN blog.