简体   繁体   English

无法在Visual Studio项目属性中选择.NET Framework 4.6.1

[英]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.

相关问题 无法在 Visual Studio 项目属性中选择 .NET Framework 2.0 - Can't select .NET Framework 2.0 in Visual Studio Project properties Visual Studio Professional 2013和.NET Framework 4.6.1 - Visual Studio Professional 2013 and .NET Framework 4.6.1 无法在Visual Studio 2015中选择.net框架 - Can't select .net framework in Visual Studio 2015 Visual Studio - .NET Framework 4.6.1 问题,适用于使用 Windows 8.1 或更低版本的用户 - Visual Studio - .NET Framework 4.6.1 Issue for users with Windows 8.1 or Older 无法将NUGET hdf5-v120-complete安装到具有框架4.6.1的.NET项目 - can't install NUGET hdf5-v120-complete to .NET project with framework 4.6.1 如何在Visual Studio 2017中添加.Net框架4.6.1类库而不是.Net标准? - How to add .Net framework 4.6.1 Class Library instead of .Net standard in Visual Studio 2017? 数据集未在 Visual Studio 2022 中从 .Net Framework 4.6.1 迁移到 .NetFramework 4.7.2 - Dataset not migrating in Visual Studio 2022 from .Net Framework 4.6.1 to .NetFramework 4.7.2 Visual Studio 无法定位 .NET 框架 4.8 - Visual Studio Can't Target .NET Framework 4.8 如何在Visual Studio项目中打包.Net框架? - How to package .Net framework in Visual Studio project? 选择要在Visual Studio应用程序中使用的.NET Framework - Select .NET Framework to Use In Visual Studio Application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM