locked
Unable to migrate a web form project to VS 2012 RRS feed

  • Question

  • User-1600963911 posted

    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?

    Sunday, November 25, 2012 6:00 PM

Answers

  • User-1600963911 posted

    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.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, November 29, 2012 11:50 AM

All replies

  • User1563021683 posted

    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.

    Sunday, November 25, 2012 6:13 PM
  • User-1600963911 posted

    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:

    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.
    Sunday, November 25, 2012 6:34 PM
  • User-1600963911 posted

    I have just tried to add two other types of projects (MVC, WPF), and got similar errors.  I need to straighten out that first.

    Sunday, November 25, 2012 6:46 PM
  • User-1600963911 posted

    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.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, November 29, 2012 11:50 AM