VS 2012 solution and projects - incompatible with VS 2010?

I was on the assumption that C # solutions and / or projects created in VS 2012 could also be opened in VS 2010 (using SP1).

But I could not do this - VS 2010 did not want to download the solution file, and after I manually "faked" it, he now complains that the project file is *.csprojincompatible with this current version of VS 2010 .....

What am I missing?

+5
source share
3 answers

If you are creating a solution with visual studio 2012 at the top of your solution file, there are the following two lines:

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012

12 11. Visual Studio 2010. , Visual Studio 2010 , .net-framework 4.5

+6

,

1- 12.00 11.00

2- *.csproj

<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>

to

<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>

VS 2010

+8

Removal:

<AppContainerApplication>true</AppContainerApplication>    

Under the tag:

<PropertyGroup Label="Globals">    

Decided this for me. Although this is ridiculous, it worked on another PC (Win10 instead of 7), including this line.

0
source

All Articles