Visual Studio 2010 Full and ASP.NET MVC 2.0 Template

I installed the full version (not RC or Beta) of Visual Studio 2010, then the installation in Web Installer 2.0 announced that I needed to install MVC 2.0, so I did it.

When I want to create the project "MvcWebApplicationProjectTemplate" in VS, I have the following message:

error: this template tried to load the component assembly 'Microsoft.VisualStudio.Web.Mvc.2.0, Version = 10.0.0.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35'. For more information about this issue and how to enable this template, see the Documentation for customizing project templates.

Any idea how to fix this? Do you think the Web Platform 2.0 installer could ruin this pattern?

Thanks Daniel

+5
source share
3 answers

VS 2010 comes with MVC2. I guess installing it again using WPI, because of which it is damaged. Try to uninstall the MVC2 installation (one through WPI) and then restore the RTM VS 2010 installation.

Good luck

+4
source

Apparently, if you installed MVC2 RC2 after VS2010, there is a problem. Try the following link:

http://haacked.com/archive/2010/02/10/installing-asp-net-mvc-2-rc-2-on-visual-studio.aspx

0
source

Visual Studio 2010 .

0

All Articles