Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS2012 RTM missing .net 4.5 and mvc project templates

On Windows 8 RTM and just installed Vs2012 Ultimate RTM, I'm unable to create a .net 4.5 project nor a .net 4 or 4.5 ASP.NET MVC project. I've done a repair of VS2012, which did not fix it. Is there something obvious I'm doing wrong?

Missing .NET 4.5

Missing ASP.NET MVC 3 and 4

like image 315
dotjosh Avatar asked Oct 04 '12 05:10

dotjosh


2 Answers

I also had the same problem.. Doing the following procedure solved it.

Copy the folder \packages\WPT from the visual studio 2012 installer CD to your desktop.

Uninstall the following in this order..

  1. aspnetmvc4vs11tools.msi
  2. aspnetmvc4.msi
  3. aspnetmvc3vs11tools.msi
  4. aspnetmvc3.msi

Then install these in this order.

  1. aspnetmvc3.msi
  2. aspnetmvc3vs11tools.msi
  3. aspnetmvc4.msi
  4. aspnetmvc4vs11tools.msi

Trying to repair didn't fix the problem. You have to remove and install these..

Hope this will help...

like image 54
Sen Jacob Avatar answered Oct 02 '22 13:10

Sen Jacob


Your install is probably corrupted. VS 2012 needs .net 4.5 to run, so something has gone wrong if it's not available.

I would try uninstalling and reinstalling. It's brute force but it generally works.

like image 32
David Mason Avatar answered Oct 02 '22 12:10

David Mason