sms247
sms247

Reputation: 4504

How to convert Visual Studios 2013 project to Visual Studios 2010?

I have a project in Microsoft Visual Studios 2013 and I want to open it in Microsoft Visual Studios 2010. Is there any easy way? or Do I have to create a new project in 2010 and add all files from 2013 project?

Upvotes: 23

Views: 99243

Answers (7)

Jeff
Jeff

Reputation: 165

Had to change to these 2 lines. Changed from 12 to 11. And changed from 4.5 on the framework to 4.0 on the project file .csproj

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

<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>

Upvotes: 0

Ben
Ben

Reputation: 2269

For 2015 to 2010 Premium use these lines in the .sln file.

Microsoft Visual Studio Solution File, Format Version 11.0
# Visual Studio 11
VisualStudioVersion = 10.0.40219.1
MinimumVisualStudioVersion = 10.0.40219.1

Upvotes: 0

Shima.Y
Shima.Y

Reputation: 383

(credit to @PandiyanT and @talmok)

This worked for me: open the solution(.sln) file with Notepad and change right values to left values in this way :

  • Format Version 12.00 to Format Version 11.00
  • Visual Studio 2013 to # Visual Studio 2010

and then open visual C# project file with notepad and change right value to left value in this way :

  • ToolsVersion="12.0" to ToolsVersion="4.0"

Upvotes: 0

talmok
talmok

Reputation: 11

I changed ToolsVersion="12.0" to ToolsVersion="4.0" in my .csproj file and .csproj.user file, I hope it helps someone out there.

Upvotes: 0

Pandiyan T
Pandiyan T

Reputation: 59

open the solution file with notepad and editing like

Format Version 12.00===> Format Version 11.00

Visual Studio 2013===> # Visual Studio 2010

is also working

Upvotes: 4

DMC
DMC

Reputation: 133

I had some issues that were resolved by a combination of things. In my case I was converting a VB 2013 project to 2010. I solved it by:

Open the solution file in notepad (.sln) Change these lines:

  • Microsoft Visual Studio Solution File, Format Version 12.00
  • Visual Studio 2013

To:

  • Microsoft Visual Studio Solution File, Format Version 10.00
  • Visual Studio 2010

I also had to update the references. I had the issue that it give an error every time I went to view designer. In my case it was:

  • Microsoft Excel 15.0 Object Library -> Microsoft Excel 14.0 Object Library
  • Microsoft Office 15.0 Object Library -> Microsoft Office 14.0 Object Library
  • Reassign the Microsoft Visual Basic for Applications Extensibility 5.3

Upvotes: 8

Related Questions