Home > Enterprise >  Why can't I install Microsoft.EntityFrameworkCore.Sqlite?
Why can't I install Microsoft.EntityFrameworkCore.Sqlite?

Time:11-23

I am following this tutorial:

enter image description here

About the Sqlite package (only if continue the practicing with .netFramework)

The command Install-Package Microsoft.EntityFrameworkCore.Sqlite will try to install the last version. Currently, the last version is 7.0.0. This version only work with .NET 6.0.

You can check existing .net versions right here

So, you need to specify the version. The version for .NET 4.7.2 is the 3.1.31.

Install-Package Microsoft.EntityFrameworkCore.Sqlite -Version 3.1.31

Nuget Sqlite package info here

  • Related