x86
-----------------------------------------------------------------------------
1. 运行->cmd
2. cd C:\Windows\Microsoft.NET\Framework\v4.0.30319
3. aspnet_regiis.exe -i
x64
-----------------------------------------------------------------------------
1. 运行-> cmd
2. cd C:\Windows\Microsoft.NET\Framework64\v4.0.30319
-----------------------------------------------------------------------------
1. 运行->cmd
2. cd C:\Windows\Microsoft.NET\Framework\v4.0.30319
3. aspnet_regiis.exe -i
x64
-----------------------------------------------------------------------------
1. 运行-> cmd
2. cd C:\Windows\Microsoft.NET\Framework64\v4.0.30319
3. aspnet_regiis.exe -i
-----------------------------------------------------------------------------
如果是安装.net 4.6.1 产生的问题请下载对应补丁
http://blogs.msdn.com/b/webdev/archive/2014/11/11/dialog-box-may-be-displayed-to-users-when-opening-projects-in-microsoft-visual-studio-after-installation-of-microsoft-net-framework-4-6.aspx
转:http://blog.csdn.net/qq282030166/article/details/50607953