Are there any actual (breaking) changes between the project files of 2008 and 2010?

While I accidentally converted the project file to Visual Studio 2010 (of course, no source control). Instead of re-creating the project file (at least for 10-15 minutes), instead I looked at what had changed between the typical 2008 project file and my converted 2010 project file.

The only difference I noticed is that in 2008 this is the second line:

<Project DefaultTargets="Build" ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 

And in 2010, it was like this:

 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 

For the inverse conversion, I just changed it to 3.5 and never experienced a problem with it (and soon checked it for initial control!).

Now my question is this: is there ever a case where you simply cannot just change ToolsVersion to invert? (Of course, if you are not using .Net 4.0)

+4
source share
1 answer

As far as I know, this is just ToolsVersion. However, VS2010 can add additional files to the project file that VS2008 will not understand. It can also add targets that VS2008 does not have.

+1
source

Source: https://habr.com/ru/post/1339757/


All Articles