Incompatibility between Visual Studio 2010 and Visual Studio 2013 - asp.net

I am given an old Visual Studio 2010 ASP.NET MVC project to fix some defects. Is there any way I can continue it in VS 2013? I opened the project in VS 2013 once but didn't change anything. But now when I try to open it from VS 2010 again, it says that my project is incompatible with the Visual Studio version. How can I recover it?

After whole two days I found a way to fix this. When the folder is opened as a website in VS 2010 and closed, incompatible or not, a .sln file (Microsoft Visual Studio Solution file) will be saved in a new folder in C:\Users\username\Documents\Visual Studio 2010\Projects. I added the line TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0" under the line ProjectSection(WebsiteProperties) = preProject. When I tried to open the website folder again, it loaded without any issue.

Related

Cannot create new website in Visual Studio 2010

I am trying to create a new .NET website in Visual Studio 2010, but when I go to create a new web site (File>New>Web Site...) I am left with no options to select. Am I missing something? I've searched all around and can't find any way to download templates.
Looks like Templates are not installed in your system.
Close all instance of Visual Studio. Open visual studio command prompt and type,
devenv/installvstemplates
Press Enter. Wait for the process to complete and the open Visual Studio.
You will get all missing templates under Visual Studio installed templates.

How to upgrade Visual studio 2008 project in Visual Studio 2012/2015 ?(How to Open Project)

How to upgrade Visual studio 2008 project in Visual Studio 2012/2015 ?
How to Open Projects in VS 2012/2015.
when I open existing project folder it showing like :
There is no .sln file.
can any one help me on this.
If it is a website there won't be a solution
You have open it with File>Open Website option.
Check if it's a website or web application project.

Creating ASP Web App fails in Visual Studio 2013

I'm trying to make new ASP.NET Web Application project in Visual Studio 2013 but it immediately fails with this error:
Could not load type 'Microsoft.VisualStudio.Web.WindowsAzure.Contracts.AzureResourceCreationType' from assembly 'Microsoft.VisualStudio.Web.Internal.Contracts, Version=2.3.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a'.
I used to be able to create web apps. Visual studio updated to update v4 a while back. Also I made sure all extensions are updated.
Any help would be greatly appreciated, thank you.
After a lot more searching I found the answer from this post:
Visual Studio 2013 Premium solution load errors after Update 3
I had to run the following commands and everything works again afterwards.
gacutil -i "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\Web Tools\Publish\Microsoft.VisualStudio.Web.Publish.dll"
gacutil -i "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\Web Tools\Publish\Microsoft.VisualStudio.Web.Internal.Contracts.dll"
I had the same issue after removing VS2015RC and installing full VS2015.
Side note: The above fix (changing path to point at "Microsoft Visual Studio 14") fixed the above error in VS2015.
Looking through the control panel and program updates, VS2013 update 4 was installed around the same time as VS2015 so I ran a repair on update 4 and it had no affect.
Repaired KB2932965 a VS2013 update, still no luck

Can't open .kproj projects in VS .NET 2013 Update 4?

I cloned an ASP.NET vNext project from github and I'm running VS .NET 2013. I was under the impression that Update 4 would allow me to open vNext projects with .kproj files, but I'm getting the following message:
Unsupported This version of Visual Studio is unable to open the
following projects. The project types may not be installed or this
version of Visual Studio may not support them.
Is there something else I need to do in .NET 2013 to open a .kproj project? I'd like to avoid 2015 if I can help it.
ASP.NET vNext is only supported in VS 2015.
You cannot open kproj files in a previous version

Open Visual Studio 2012 ASP.Net project in Visual Studio 2010

I have created my asp.net project in visual studio 2012, and now I have remove it and install VS2010.
Once I installed VS2010, I changed the number version of format version to 11.0.0 but it's doesn't work and I get error dialog "one or more project in the solution were not loaded correctly please see the output Window for details".
There is free opensource tool written which is in CodePlex.
Visual Studio Project Converter
Try this out it worked fine for me.
If that dosent work then here are some other SO link with other answers to help you out.
How to downgrade from Visual Studio 2012 project to Visual Studio 2008

Resources