For a netstandard2.1-based solution I'd need to install Microsoft.EntityFrameworkCore 5.0.17 specifically, but when I try:
I get:
I've already tried manually downloading the package and adding it to the local package source, without success. I've also cleared all nuget caches.
How can I enforce version 5.0.17 to be used?
C#:
dotnet add package Microsoft.EntityFrameworkCore --version 5.0.17
C#:
warn : NU1603: BOW.Licensing.Data depends on Microsoft.EntityFrameworkCore (>= 5.0.17) but Microsoft.EntityFrameworkCore 5.0.17 was not found. An approximate best match of Microsoft.EntityFrameworkCore 6.0.7 was resolved.
error: NU1202: Package Microsoft.EntityFrameworkCore 6.0.7 is not compatible with netstandard2.1 (.NETStandard,Version=v2.1). Package Microsoft.EntityFrameworkCore 6.0.7 supports: net6.0 (.NETCoreApp,Version=v6.0)
How can I enforce version 5.0.17 to be used?