以前都是直接用aspnet_regiis.exe -i
现在用这个不好使了,解决办法打微软补丁。
https://blogs.msdn.microsoft.com/webdev/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/