Project ‘ClassLibrary1.csproj’ targets ‘netstandard2.1’. It cannot be referenced by a project that targets ‘.NETFramework,Version=v4.8’

What can I do?

  1. If your library doesn’t need the very latest features, use .net standard 2.0
    in general, a library should aim to support the lowest possible version.

or

  1. port your WPF app to .NET Core 3 or later

Leave a Comment

tech