visual studio 2017 - Package X is not compatible with netstandard2.0 -
i created .net standard v2.0 project in visual studio 2017 v15.3.1 , i'm unable install "microsoft.entityframeworkcore 2.0.0" package in (by nuget 4.3). .net sdk , runtime, both 2.0.0, installed.
the errors follow pattern: "package x not compatible netstandard2.0 (.netstandard,version=v2.0)." (i.e. system.reflection.typeextensions 4.1.0).
what causing these errors?
edit: i'll show exact warnings , errors example (there many).
restoring packages [.csproj path]...
warning:
package "system.collections 4.3.0" restored using ".netframework,version=v4.6.1" project target framework ".netstandard,version=v2.0". may cause compatibility problems.
...
error:
package remotion.linq 2.1.1 not compatible netstandard2.0 (.netstandard,version=v2.0). package remotion.linq 2.1.1 supports:
- net35 (.netframework,version=v3.5)
- net40 (.netframework,version=v4.0)
- net45 (.netframework,version=v4.5)
- netstandard1.0 (.netstandard,version=v1.0)
- portable-net45+win8+wp8+wpa81 (.netportable,version=v0.0,profile=profile259)
...
error restoring package. reverting package changes 'classlibrary1'.
time elapsed: 00:00:02.4689637
========== ended ==========
issue solved installing, independently, newer versions each of packages' dependencies showing error, big package "microsoft.entityframeworkcore 2.0.0" gets installed @ last.
hope helps.
Comments
Post a Comment