how to open vs2012 project solution to vs2010? - visual-studio-2010

I have develop project in visual studio 2012 , but now im trying to open that project in visual studio 2010?its showing error like cant open the solution

In your .sln file, open with notepad and...
Change the:
Microsoft Visual Studio Solution File, Format Version 12.00
To:
Microsoft Visual Studio Solution File, Format Version 11.00

Related

How to open .rdl reports file in Visual Studio 2013?

I am having an issue in opening the report file in Visual Studio 2013. When I try to open the solution file, it states that:
The error message which I am getting is:
The version of visual studio which I am using is:
I am wondering what extra package we need to install in order to open the reports file in visual studio 2013 ?
The version of visual studio 2013 as mentioned above in the image is 12.0.40629.00 Update 5

How to convert project from VS2012 to VS2013

Funny question but I stacked on it. I opened in VS2013 solution file which uses VS2012, but it still doesn't show me any screen for upgrade solution to VS2013. I mean I can open this project in VS 2013 and it works but solution file still shows that it use VS2012
According to this article some wizard should be shown, but it doesn't
http://msdn.microsoft.com/en-us/library/vstudio/ms185327(v=vs.100).aspx
Found the answer. We need to correct manually the Visual Studio sln file like this
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Open the project using VS2013, then go the the directory that the project is in and change the
extension of the Solution file (*.sln) to something like *.sln_12. Now save the project and a new sln file will be created.
Check this url http://visualstudiomagazine.com/articles/2013/06/12/vs-2013-can-load-vs-2012-and-vs-2010-projects.aspx. It supports round-tripping with older versions of visual studio so it doesn't upgrade solution/project file automatically.

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?
Open you solution file in notepad. Make 1 change, as stated in Converting VS2012 Solution to VS2010:
Replace "# Visual Studio 2013" with "# Visual Studio 2010" (without
quotes.)
http://social.msdn.microsoft.com/Forums/vstudio/en-US/ef97fa9c-b89b-4a89-8bda-03457dff9c61/how-to-downgrade-from-visual-studio-2012-project-to-vs-2010
How to downgrade from Visual Studio 2012 project to Visual Studio 2008
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
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
I changed ToolsVersion="12.0" to ToolsVersion="4.0" in my .csproj file and .csproj.user file, I hope it helps someone out there.
(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"
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
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>

opening visual studio 2010 solution files in visual studio 2008

How would you open a Visual Studio 2010 .sln file in Visual Studio 2008?
Is it possible? Are there any workarounds?
Have a look at these questions for information about how to convert the solution file between VS2008 and VS2010:
VS2010 possible to convert projects back to VS2008?
VS2010 and VS2008 project compatibility
But keep in mind, that once you have used some of the .NET 4 features (while in VS 2010), you will not be able to continue working with that solution in VS2008, since it does not support .NET 4. On the other hand, when using VS2010, you can still target .NET 3.5 or 2.0.
I think I need more information... but I will try it.
One option is to create a new project in VS 2008 and simply add the files to the project.
Other option is to edit the .sln file and replace* Microsoft Visual Studio Solution File, Format Version 11.00.* with Microsoft Visual Studio Solution File, Format Version 10.00.
The open the .csproj file and replace
with
Open the solution file (.sln) with notepad and change
Microsoft Visual Studio Solution File, Format Version 11.00
Visual Studio 2010
to
Microsoft Visual Studio Solution File, Format Version 10.00
Visual Studio 2008
Then open the solution file from visual studio 2008

Open Visual Studio 2008 Project in Visual Studio 2005

I have created a project using Visual Studio 2008 and .NET Framework 2.0.
Now I want to open it in Visual Studio 2005 (.NET Framework 2.0).
When I try to open the solution in Visual Studio 2005 it is showing an error as "It is created using the Higher versions".
So is there any way I could open the project in Visual Studio 2005?
Or should I redo the entire project in Visual Studio 2005?
Please help me out!
Thanks in advance!
You can edit the solution file and project files (not recommended, but you can). If it's a csproj file, change the line
<ProductVersion>9.0.30729</ProductVersion>
to
<ProductVersion>8.0.50727</ProductVersion>
If it's the sln file, change:
Microsoft Visual Studio Solution File, Format Version 10.00
to
Microsoft Visual Studio Solution File, Format Version 9.00
Try opening the project file instead of the solution file. Otherwise just create a new VS2005 project and add all the files and folders from the VS2008 project.
You can use Visual Studio Project Converter, a handy tool to convert between most versions of Visual Studio (VS 2002, 2003, 2005 and 2008).
But unfortunately, converting .NET projects is not supported.
I have just encountered the same problem.
Modifying the .sln file and .csproj file by notepad is the solution.
If want to know more about the file format, we can create a simple project both in VS2005 and VS2008, then compare the project files.

Resources