Upgrading MVC project in VS 2010 b2: The project type is not supported by this installation
Consider the scenario of upgrading an ASP.NET MVC project.
This question is around up-converting a .sln with a .csproj that is of type ASP.NET MVC 1.0.
The conversion log shows this The Visual Studio conversion wizard log gives this exception:
The project file 'C:\MvcForums\MvcForums.csproj' cannot be opened. The project type is not supported by this installation.
After the conversion, the .sln contains this entry for the MVC app. The zerod-guid is obviously the root of the problem:
Project("{00000000-0000-0000-0000-000000000000}") = "MvcForums", "MvcForums\MvcForums.csproj", "{5CDD5F8B-9192-4A63-B4B0-55244C835352}"
Question: How can we convert an MVC app using Visual Studio 2010 Beta 2? Do you have to install MVC 1.0?
开发者_如何学运维Environment:
- Win 7
- No ASP.NET 1.0 installed
- Visual Studio 2010 Beta 2 only
- Stephen Walther's Forums sample app.
Here is a a tool that Phil Haack linked to upgrade mvc1 apps to mvc2 and be usable in 2010. I would take a look at Phils blog, he links to the lead dev of mvc who has some info on the subject.
精彩评论