Reputation: 411
I've installed full version (not RC nor Beta) of Visual Studio 2010, a then setup within Web Platform Installer 2.0 announce me that I need to install MVC 2.0, so i did it.
When I want to create project "MvcWebApplicationProjectTemplate" in VS I have following message:
error: this template attempted to load component assembly 'Microsoft.VisualStudio.Web.Mvc.2.0, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. For more information on this problem and how to enable this template, please see documentation on Customizing Project Templates.
Any idea how to fix it? Do you think that Web Platform Installer 2.0 might have corrupted this template?
Thanks, Daniel
Upvotes: 4
Views: 3959
Reputation: 2630
Apparently if you installed MVC2 RC2 after VS2010 there is an issue. Try the following link:
http://haacked.com/archive/2010/02/10/installing-asp-net-mvc-2-rc-2-on-visual-studio.aspx
Upvotes: 0
Reputation: 8304
VS 2010 comes with MVC2. I am guessing installing it again using WPI made it corrupt. Try uninstalling the MVC2 install (the one through WPI) and then repair the VS 2010 RTM install.
Good luck!
Upvotes: 4