A
A
Andrey Fomin2021-02-07 18:14:51
visual studio
Andrey Fomin, 2021-02-07 18:14:51

How do I install the desired library?

Hello!
I wanted to add the Microsoft.EntityFrameworkCore.Sqlite library to the project, but during installation I got this:

Failed to install package 'Microsoft.EntityFrameworkCore.Sqlite 5.0.2'. You are trying to install this package in a project whose required platform version is ".NETFramework,Version=v4.8", but the package does not contain assembly references or content files that are compatible with this framework. For more information, contact the package author.

And I don't quite understand: there are no links in my project or in the library that I want to install?
And how then can I install the desired library?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-02-07
@a63826ndrew

You have a .net Framework 4.8 project and you want to install a package that requires .net 5.
You need to upgrade to .net 5

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question