[英]Can't select .NET Framework 4.6.1 in Visual Studio Project properties
I installed .NET Framework 4.6.1 using this url: http://www.microsoft.com/en-us/download/details.aspx?id=49981 我使用以下URL安装了.NET Framework 4.6.1: http : //www.microsoft.com/zh-cn/download/details.aspx?id=49981
But when I open a Visual Studio (2015) Project I can't select version 4.6.1 但是,当我打开Visual Studio(2015)项目时,无法选择4.6.1版本
See image: 见图片:
Why I can't choose 4.6.1 which I installed? 为什么我不能选择已安装的4.6.1?
go to http://getdotnet.azurewebsites.net/target-dotnet-platforms.html https://www.microsoft.com/net/targeting 转到http://getdotnet.azurewebsites.net/target-dotnet-platforms.html https://www.microsoft.com/net/targeting
download and istall .NET Framework 4.6.1 Targeting Pack
下载并安装.NET Framework 4.6.1 Targeting Pack
I'll then recommend using an extension called Target Framework Migrator
you can download it from here https://visualstudiogallery.msdn.microsoft.com/47bded90-80d8-42af-bc35-4736fdd8cd13 or get it through tools->extension and updates 然后,我建议使用名为Target Framework Migrator
的扩展程序,您可以从此处下载它https://visualstudiogallery.msdn.microsoft.com/47bded90-80d8-42af-bc35-4736fdd8cd13或通过工具->扩展名和更新来获取
Note that if you change the target framework to 4.6.1 using the dropdown in Visual Studio you may experience VS to hang for like a minute or so where using the Target Framework Migrator
avoids this problem and you can upgrade all the projects in the solution at once. 请注意,如果使用Visual Studio中的下拉列表将目标框架更改为4.6.1,您可能会遇到VS挂起大约一分钟的情况,在这种情况下,使用Target Framework Migrator
可以避免此问题,并且可以在以下位置升级解决方案中的所有项目:一旦。
Also 4.6.1 comes preinstalled with Visual Studio 2015 Update 2 此外,Visual Studio 2015 Update 2还预装了4.6.1。
Update : Make sure to install Developer Pack after .NET Framework installation as depicted in below image. 更新:请确保在.NET Framework安装之后安装Developer Pack,如下图所示。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.