The Microsoft.CodeAnalysis.CSharp.Workspaces 1.3.2 package supports netstandard1.3 , so it must be compatible with .Net Core. But it depends on Microsoft.Composition 1.0.27, which only supports portable-net45+win8+wp8+wpa81 . This framework is compatible with .Net Core, but only if you import it into your project. Json
This means that to do this, the relevant sections of your project.json should look like this:
"dependencies": { "Microsoft.CodeAnalysis.CSharp.Workspaces": "1.3.2" }, "frameworks": { "netcoreapp1.0": { "dependencies": { "Microsoft.NETCore.App": { "type": "platform", "version": "1.0.0" } }, "imports": "portable-net45+win8+wp8+wpa81" } }
svick source share