I'm creating an ASP.NET Core MVC Project and I can't install Entity Framework Core. I tried to run this command
dotnet add package Microsoft.EntityFrameworkCore.InMemory
in the console and I get this:
PS C:\Users\Nicolas\Desktop\Courses\Udemy\MVCExample> dotnet add package Microsoft.EntityFrameworkCore.InMemory
Writing C:\Users\Nicolas\AppData\Local\Temp\tmpE0E7.tmp
info : Adding PackageReference for package 'Microsoft.EntityFrameworkCore.InMemory' into project 'C:\Users\Nicolas\Desktop\Courses\Udemy\MVCExample\Udemy.csproj'.
info : Restoring packages for C:\Users\Nicolas\Desktop\Courses\Udemy\MVCExample\Udemy.csproj...
info : GET http://packagesource/FindPackagesById()?id='Microsoft.EntityFrameworkCore.InMemory'&semVerLevel=2.0.0
log : Retrying 'FindPackagesByIdAsyncCore' for source 'http://packagesource/FindPackagesById()?id='Microsoft.EntityFrameworkCore.InMemory'&semVerLevel=2.0.0'.
log : No such host is known.
info : GET http://packagesource/FindPackagesById()?id='Microsoft.EntityFrameworkCore.InMemory'&semVerLevel=2.0.0
log : Retrying 'FindPackagesByIdAsyncCore' for source 'http://packagesource/FindPackagesById()?id='Microsoft.EntityFrameworkCore.InMemory'&semVerLevel=2.0.0'.
log : No such host is known.
info : GET http://packagesource/FindPackagesById()?id='Microsoft.EntityFrameworkCore.InMemory'&semVerLevel=2.0.0
error: Failed to retrieve information about 'Microsoft.EntityFrameworkCore.InMemory' from remote source 'http://packagesource/FindPackagesById()?id='Microsoft.EntityFrameworkCore.InM
emory'&semVerLevel=2.0.0'.
error: No such host is known.
Does anyone know what's happening? I can't find a solution to this problem