5

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?

Tassadaque
  • 8,129
  • 13
  • 57
  • 89
Roger Johansson
  • 22,764
  • 18
  • 97
  • 193

2 Answers2

6

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.

Community
  • 1
  • 1
Matthew M. Osborn
  • 4,673
  • 4
  • 25
  • 26
  • This trick also works for VS2012 (obviously you need to change the path from 10 to 11) – Dave Maff Oct 02 '12 at 15:39
  • I am having the same problem, cleared cache but it is of no use. When I write the command it gives me the error "The requested operation requires elevation". – Aayushi Jain Dec 04 '13 at 17:01
5

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/

Gautam Jain
  • 6,789
  • 10
  • 48
  • 67