locked
MSBuild and .csproj backward compatibility RRS feed

  • Question

  • With .NET 3.5 and Visual Studio 2008 the .csproj file format has changed again. The new MSBuild, which comes with .NET 3.5, seems to build the older .csproj (created using VS2005) without any problems. Will all newer versions of MSBuild assure backward compatibility?
    Monday, March 31, 2008 10:36 AM

Answers

  • The project format is not really changed - you will find that same C# project can be built between 2.0 and 3.5 (of course, if you do not use any 3.5/VS2008 specific stuff).

     

    And as you see, the whole multi-targeting business is based upon providing better compatibility story, so for example VS is able to work with different target .NET frameworks.

     

    Cheers,

    Eugene

     

    Monday, March 31, 2008 9:18 PM

All replies

  • The project format is not really changed - you will find that same C# project can be built between 2.0 and 3.5 (of course, if you do not use any 3.5/VS2008 specific stuff).

     

    And as you see, the whole multi-targeting business is based upon providing better compatibility story, so for example VS is able to work with different target .NET frameworks.

     

    Cheers,

    Eugene

     

    Monday, March 31, 2008 9:18 PM
  •  

    The actual issue here is format version of VS.NET solution and project files, not multi-targeting . See some differences between VS 2005 and VS 2008 formats here: http://saftsack.fs.uni-bayreuth.de/~dun3/archives/downgrade-vs-2008-sln-or-csproj-to-vs-2005-project-solution/139.html

     

    Best regards,

    Ricardo Stuven.

    Thursday, April 10, 2008 4:00 PM