Can't select .NET Framework 4.6.1 in Visual Studio Project properties

这一生的挚爱 提交于 2019-12-18 20:02:10

问题


I installed .NET Framework 4.6.1 using this url: http://www.microsoft.com/en-us/download/details.aspx?id=49981

But when I open a Visual Studio (2015) Project I can't select version 4.6.1

See image:

Why I can't choose 4.6.1 which I installed?


回答1:


go to http://getdotnet.azurewebsites.net/target-dotnet-platforms.html https://www.microsoft.com/net/targeting

download and istall .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

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.

Also 4.6.1 comes preinstalled with Visual Studio 2015 Update 2

Update : Make sure to install Developer Pack after .NET Framework installation as depicted in below image.



来源:https://stackoverflow.com/questions/36769658/cant-select-net-framework-4-6-1-in-visual-studio-project-properties

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