Visual Studio 2012 错误 .NET 4.6

Visual Studio 2012 error .NET 4.6

打开 .NET 4.6 项目后,我收到了这条消息

Configuring Web http://localhost:64886/ for ASP.NET 4.6 failed. You must manually configure this site for ASP.NET 4.5 in order for the site to run correctly. ASP.NET 4.6 has not been registered on the Web server. You need to manually configure your Web server for ASP.NET 4.6 in order for your site to run correctly.

而且我确定我的计算机上安装了 .NET 4.6

其实不是.Net框架的问题。这是 Visual studio 问题。

您可以安装 visual studio 2012 update,它会顺利运行。

可以在此处找到更新的详细信息https://www.microsoft.com/en-us/download/details.aspx?id=44907