VS2012 RTM missing .net 4.5 and mvc project templates

对着背影说爱祢 提交于 2019-12-04 07:28:39

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.

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...

You probably do not have the Windows 8.1 SDK installed. Visual Studio 2012, nor its updates, link the .NET Framwork 4.5 libraries for development.

You don't have to install the full SDK if you are just looking for the option to build web apps, just the .NET Framework 4.5.1 option in the installer. The full install is about 1.1GB, but just the .NET installer is only 72MB.

For those reading this that have not updated their copy of Visual Studio 2012, make sure you also have these installed:

Hope this helps!

Change .net framework version to 4.5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!