I have some class library projects in targets netstandard2.1
.
When I referenced that to my WPF project in target .NET Framework v4.8
, On building time I get an error:
Severity Code Description Project File Line Suppression State Error Project '..\ClassLibrary1\ClassLibrary1.csproj' targets 'netstandard2.1'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.8'. WpfApp1
What can I do?
Update:
I read this Q/A about referencing netcoreapp2.1
and in that answer telling about add netstandar2.1
. But my libraries are already in targets netstandard2.1
!
What can I do?
or
Update:
.Net Core 3 has been released and you can also use the stable version of it.