How do I open an old MVC project in Visual Studio 2012 or Visual Studio 2013?

后端 未结 3 2084
眼角桃花
眼角桃花 2020-12-02 03:55

I have an old ASP.NET MVC 2 project which I do not want to upgrade to MVC 3 or MVC 4. I am working on a new machine running Windows 8, Visual Studio 2012 and Visual Studio 2

3条回答
  •  星月不相逢
    2020-12-02 04:29

    I used @ahsteele's approach (thanks and 2x+1s!), but was having one further error:-

    .csproj : error : The operation could not be completed. Invalid class string

    I can't find any citations for the real cause of that, but I was able to get VS2012RTM to load the project successfully by changing the . (No idea how this happened - its part of a large solution and VS08, VS10, VS11 Beta and VS2012RC have all upgraded the .csproj and .sln over time.

提交回复
热议问题