Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS 2012 solution and projects - incompatible with VS 2010?

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

But I wasn't able to do so - VS 2010 didn't want to load the solution file, and after I manually "tweaked" it, now it complains about the *.csproj project file being incompatible with this current version of VS 2010 .....

What am I missing?

like image 854
marc_s Avatar asked Mar 09 '13 12:03

marc_s


People also ask

How do you resolve an incompatible issue in Visual Studio?

By right clicking on project and reload it solved the issue. The issue is caused by IS extension is disabled. Please navigate to Tools > Extensions and updates, search for "Microsoft Integration Services Projects" and enable it.

How do I add a project to an existing solution in Visual Studio 2010?

To add an existing project to a solutionIn Solution Explorer, select the solution. On the File menu, point to Add, and click Existing Project. In the Add Existing Project dialog box, locate the project you want to add, select the project file, and then click Open.

Is Visual Studio backwards compatible?

You can work with them as you always have, provided that you don't depend on newer features. We try to preserve backwards compatibility with previous versions, such as Visual Studio 2019, Visual Studio 2017, Visual Studio 2015, Visual Studio 2013, and Visual Studio 2012.


1 Answers

You can fix it by,

1- Change 12.00 to 11.00

2- open *.csproj file by text editor and change this line

<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>

to

<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>

Project will open after restart of VS 2010

like image 132
Sami Avatar answered Sep 28 '22 00:09

Sami