As my understanding, VS 2012 support ASP.Net web form project type. However, I get the following error when trying to open a web form project created by VS 2010:
Unsupported
This version of Visual Studio does not have the following project types installed or does not support them. You can still open these projects in the version of Visual Studio in which they were originally created.
- MyApp
No changes required
These projects can be opened in this version of Visual Studio without changing them. They will continue to open in Visual Studio 2010 SP1 and in this version of Visual Studio.
Another web form project has been migrated to VS 2212 without any problem. Could anyone provide a tip on how to find the exact cause of the problem?
I get a bunch of error message boxes starting with the following one when trying to create a new ASP.Net web form project:
Microsoft Visual Studio
The file Web.config could not be found within the project templates.
Continuing to run, but the resulting project may not build properly.
The project is a hybrid project - started as a web form project, and MVC2 added later. I used
MVC3 upgrader to upgrade the MVC2 part, then added the project to VS2012. VS2012 upgraded it successfully this time.
Hong
Marked as answer by Angie xu - MSFT on Dec 02, 2012 10:52 PM
zipswich
Member
271 Points
434 Posts
Unable to migrate a web form project to VS 2012
Nov 25, 2012 10:00 PM|LINK
As my understanding, VS 2012 support ASP.Net web form project type. However, I get the following error when trying to open a web form project created by VS 2010:
Another web form project has been migrated to VS 2212 without any problem. Could anyone provide a tip on how to find the exact cause of the problem?
sujithgokul
Member
42 Points
17 Posts
Re: Unable to migrate a web form project to VS 2012
Nov 25, 2012 10:13 PM|LINK
Seems like the template you have used to create your website project was not the standard template. Please refer to http://msdn.microsoft.com/en-us/library/vstudio/hh266747.aspx#compatible for the compatibility details.
The easiest option for you is to add an ASP.NET Webapplications project manually with a target version of 4.0/4.5 and browse for the website.
Sujith Gokuladas
zipswich
Member
271 Points
434 Posts
Re: Unable to migrate a web form project to VS 2012
Nov 25, 2012 10:34 PM|LINK
Thanks a lot for your prompt response.
I get a bunch of error message boxes starting with the following one when trying to create a new ASP.Net web form project:
zipswich
Member
271 Points
434 Posts
Re: Unable to migrate a web form project to VS 2012
Nov 25, 2012 10:46 PM|LINK
I have just tried to add two other types of projects (MVC, WPF), and got similar errors. I need to straighten out that first.
zipswich
Member
271 Points
434 Posts
Re: Unable to migrate a web form project to VS 2012
Nov 29, 2012 03:50 PM|LINK
It is working finally!
The project is a hybrid project - started as a web form project, and MVC2 added later. I used MVC3 upgrader to upgrade the MVC2 part, then added the project to VS2012. VS2012 upgraded it successfully this time.