Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Asp.NET MVC 3 project templates not showing up

I installed the Async CTP w/o knowing it would cause problems with Asp.NET MVC 3. So I've followed every possible uninstall instruction out there re-installed both SP1 and MVC 3.

However, the MVC 3 templates does not show up in the new project dialogs. And I have ensured that target platform is .NET 4 in the dialog, so that is not the cause.

Any ideas on how to make the MVC 3 templates re-appear?

like image 538
Roger Johansson Avatar asked Mar 31 '11 07:03

Roger Johansson


2 Answers

Try this:

Clear out the template cache located at "[ProgramFile x86]\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplatesCache"

and then run devenv.exe /installvstemplates from the visual studio command line.

like image 55
Matthew M. Osborn Avatar answered Sep 27 '22 23:09

Matthew M. Osborn


If you are using Visual Studio 2010 SP1 then the solution might be here: http://tedgustaf.com/en/blog/2011/4/installing-asp-net-mvc3-on-visual-studio-2010-sp1/

like image 39
Gautam Jain Avatar answered Sep 28 '22 00:09

Gautam Jain