The following error may occur when building a Visual Studio solution with the MSBuild program:
Solution file error MSB5014: File format version is not recognized. MSBuild can only read solution files between versions 7.0 and 9.0, inclusive.
This error may occur when compiling a solution for Visual 2008 or 2010 with the MSBuild program that came with Visual Studio 2005. The problem is that VS 2005 does not understand the newer solution file formats. To eliminate this error, use the newest version of MSBuild available (check your system):
C:WindowsMicrosoft.NETFrameworkv3.5msbuild.exe
C:WindowsMicrosoft.NETFrameworkv4.0.30319msbuild.exe