简体   繁体   English

将Microsoft.CodeAnalysis.Common安装到Visual Studio 2015

[英]Installing Microsoft.CodeAnalysis.Common to Visual Studio 2015

simply I cannot do it, I get the error screenshot shown below all the time. 简直我做不到,我总是得到下面显示的错误屏幕截图。

Could someone tell me what I do wrong? 有人可以告诉我我做错了什么吗?

  • NuPackage Manager 3.3.0 NuPackage Manager 3.3.0
  • I did "Install-Package Microsoft.CodeAnalysis.Common" on Console, still not installing and the same errors. 我在控制台上做了“ Install-Package Microsoft.CodeAnalysis.Common”,仍然没有安装并且出现了同样的错误。

在此处输入图片说明

The error you are seeing indicates that the latest version of Microsoft.CodeAnalysis.Common is not compatible with the .NET target framework for your project which is .NET Framework 4.5.2. 您看到的错误表明Microsoft.CodeAnalysis.Common的最新版本与项目的.NET Framework 4.5.2与.NET目标框架不兼容。 You can set it to .Net Framework 4.6 by right clicking on the project -> Properties -> Application Tab and set Target Framework to .NET Framework 4.6 and you should be able to install the latest Microsoft.CodeAnalysis.Common package. 您可以通过右键单击项目->属性->应用程序选项卡,并将目标框架设置为.NET Framework 4.6来将其设置为.NET Framework 4.6 ,您应该能够安装最新的Microsoft.CodeAnalysis.Common程序包。 在此处输入图片说明

Alternatively, if you want to continue to run your project using 4.5.2 framework, try this older version of the package Install-Package Microsoft.CodeAnalysis.Common -Version 1.3.2 或者,如果要继续使用4.5.2框架运行项目,请尝试使用此较旧版本的软件包Install-Package Microsoft.CodeAnalysis.Common -Version 1.3.2

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 错误NU1107版本冲突检测到Microsoft.CodeAnalysis.Common - Error NU1107 Version conflict detected for Microsoft.CodeAnalysis.Common 安装Visual Studio 2015后,Microsoft Visual Studio 2012已停止工作 - Microsoft Visual Studio 2012 has stopped working after installing the visual studio 2015 安装 Visual Studio 2022 后,Visual Studio 2019 16.11.6 上的 Microsoft.CodeAnalysis 出现问题 - Problem with Microsoft.CodeAnalysis on Visual Studio 2019 16.11.6 AFTER install Visual Studio 2022 安装Visual Studio Community 2015的问题 - Troubles installing Visual Studio Community 2015 Microsoft Visual Studio 2015的VLC库发布 - VLC library at Microsoft Visual Studio 2015 publish 在Visual Studio 2015中安装实体框架失败 - Installing Entity Framework fails in Visual Studio 2015 无法使用Visual Studio 2017加载文件或程序集'Microsoft.CodeAnalysis.LiveUnitTesting.Runtime,版本= 1.7.0.0' - Could not load file or assembly 'Microsoft.CodeAnalysis.LiveUnitTesting.Runtime, version= 1.7.0.0' with visual studio 2017 在Visual Studio 2015中安装实体框架缺少支持的标签 - Installing entity framework in visual studio 2015 missing supported tags 在visual studio 2015社区安装Xamarin.Auth时出错 - Error while installing Xamarin.Auth on visual studio 2015 community 安装Visual Studio 2015社区版后的几个问题 - Few issues after installing Visual Studio 2015 Community edition
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM