Visual Studio 2010 Full and ASP.NET MVC 2.0 Template - asp.net-mvc

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

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!

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

Visual Studio 2010 repair solved my problem.

Related

this project is incompatible with the current edition of visual studio

I developed an application into Visual Studio 2012. Now I installed Visual Studio 2015 and run the same application into Visual Studio 2015. but i found an error "this project is incompatible with the current edition of visual studio" I searched it again and again and found many solutions but these solutions are not working for me.
The problem was that I wasn't select Microsoft Web Development during installation period so that whenever I opened my ASP.net MVC project in that installed IDE. It showed me error this project is incompatible with the current edition of visual studio. So I updated this installed 2015 Visual Studio by Control Panel\All Control Panel Items\Programs and Features. Now it is working
This stackoverflow provides better answer for various other project file failures which cause same error as above.

Opening project for 2013 in 2012 Visual Studio for MVC gives error

I am getting an error when trying to open a MVC project in Visual Studio 2012. My team is running on 2013 that have been working on it, and I am waiting to be upgraded to 2013, but am trying to get some work done until then. When I open the project, it says it is missing some required Web components needed to run in Visual Studio. "ASP.NET Web pages with Razor 3.0.0.0". So I tried to do a NuGet install for AspNetMVC and did not work. I can open the project and what not, but the features such as adding a new View or Controller are not there. Do I have to wait until I am upgraded to 2013, or am I missing something? Thanks in advance.
Had to re-install WebPages package with NuGet manager. I have no idea why it was jacked, but it was and fixed the problem. Thanks #levelnis.
I had the same issue and had to update my NuGet package manager to the newest version in order to download the missing / corrupted package.

how can I install mvc4

I have visual studio 2010 and mvc2 installed on my machine. Now I want to install mvc4. How can I do that..
I have tried to install mvc3 and mvc4. But both attempt are failed. Do I need to download and install anything than mvc3.setup and mvc4.setup?
Install ASP.NET MVC in Visual Studio first go to this link https://www.asp.net/mvc/mvc4?ocid=soc-n-at-loc--TI-TP&WT.mc_id=soc-n-at-loc--TI-TP and install which edition you are using like visual studio 2012 you will get MVC 4 for that edition good lucky
You could download the standalone installer from here: http://www.microsoft.com/en-us/download/details.aspx?id=30683
Make sure you have SP1 installed for your Visual Studio 2010 before running the MVC installer.
You don't need to have ASP.NET MVC 3 installed in order to install ASP.NET MVC 4. Also it will work side by side with ASP.NET MVC 1 and 2.
You could use this link http://www.microsoft.com/web/handlers/webpi.ashx?command=getinstallerredirect&appid=MVC4VS2010_Loc that you can find in http://www.asp.net/mvc/mvc4 and that will install it using web platform installer (it's easier).

ASP.NET MVC 2.0 does not install with visual studio 2010 professional?

Hi all I installed vs 2010 and it should have asp.net mvc 2.0 but it didnt install it. I tried installing it manually but it still does not show under the new projects tab..but it shows installed in control panel. I had vs2010 rc1 before and uninstalled it and it had mvc 2.0 but now for some reason i dont have it! ..Can anyone please help me out...
MVC is published standalone. ASP.NET 4.0 is bundled with VStudio 2010, but you'll need to either download MVC 2.0 or install it using the Web Platform Installer
You're right. Sorry, I had a small brain-fart there. If the projects aren't showing up in the New->Project Dialog, that doesn't neccesarily mean MVC isn't installed, It may just be installed Incorrectly.
Are the assemblies registered in the GAC, you should check this. Also check your VS2010 configuration to see where it's pointing for it's project templates, and verify the files aren't there.
Check that the AddIn DLL is where it should be:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Microsoft.VisualStudio.Web.Mvc.2.0.dll

windows 7 asp.net mvc RC

i have a problem with asp.net mvc on windows 7... asp.net mvc RC was previously installed and i installed MVC rtm... it says “the project type is not supported by this installation”... is there anyway to register this project type in to visual studio or unregister the rc version?
Uninstall every ASP.NET MVC installation (in control panel) and reinstall the final 1.0 release. If it didn't help, run Visual Studio command prompt as administrator and run:
devenv /resetskippkgs
Not sure. Helped me once. I hope that works for you.
I had the same issue. You have to install MVC 1.0 even though you may have MVC 2. I did that and it worked for me.
OS Version: Windows 7
IDE: Visual Web Developer 2008 Express

Resources