I need to install the Microsoft Entity Framework Core package. But I get this error message:
Error NU1202: Package Microsoft.EntityFrameworkCore 6.0.0 is not compatible with netcoreapp3.1 (.NETCoreApp, Version = v3.1). Package Microsoft.EntityFrameworkCore 6.0.0 supports: net6.0 (.NETCoreApp, Version= v6.0)
The .csproj looks like this:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
</Project>

