[英]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? 有人可以告诉我我做错了什么吗?
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.