.NET Framework Developer Center > .NET Development Forums > MSBuild > Why is my C++ build slower under MSBuild 3.5?
Ask a questionAsk a question
 

QuestionWhy is my C++ build slower under MSBuild 3.5?

  • Wednesday, November 04, 2009 10:00 AMDavidTM Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi

    I am evaluating the upgrade from Visual Studio 2005 to Visual C++ 2008 Express and am specifically looking at the build time from the command line using MSBuild for a solution created with VS2005.

    I notice that Visual Studio 2005 uses MSBuild 2.0 while VC2008 uses MSBuild 3.5.

    Both invoke .NET 2.0 for my sln. I assume that this is because VS2008 imported the .sln file and forced the TargetFrameworkVersion to 2.0. Am I correct?

    I find that the MSBuild 3.5 build time is 36% longer than the MSBuild 2.0 build time and the resulting .exe is 22% larger.

    Please can anyone explain why the build time is significantly longer with 3.5?

    Best regards

    David
    David

All Replies