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. 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.
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.