Reputation:
I want to add .NetCoreApp version = v1.0 into a .NetStandard version = v1.6 as reference. But when I try to do this then below error showing. I google for last 1 hour but not get any solution and still searching for proper solution.
Hope will get any idea. Thanks in advance.
Upvotes: 0
Views: 85
Reputation: 16805
You can't.
Think .NET Standard
is an interface, while .NET Core
is class/implementation.
New interface (your project) can extends only interfaces (netstandard
libraries can reference only other netstandard
libraries), classes can extend both (your netcoreapp
project can reference both netstandard
and netcoreapp
).
But you can't create an interface (netstandard
lib) which extends class (uses netcoreapp
app).
Upvotes: 3