Eman Montero Signio
Eman Montero Signio

Reputation: 31

Unable to find Unable to find package 'Microsoft.EntityFrameworkCore.SqlServer'

I'm trying to install the package(Install-Package Microsoft.EntityFrameworkCore.SqlServer) using Package Manager Console in my WPF.Net Application Visual Studio 2017 and i got this error.

Install-Package : Unable to find package 'Microsoft.EntityFrameworkCore.SqlServer' At line:1 char:1 + Install-Package Microsoft.EntityFrameworkCore.SqlServer + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Install-Package], Exception + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

Please help me. Thank you.

Upvotes: 1

Views: 4977

Answers (3)

Sanjeev Gupta
Sanjeev Gupta

Reputation: 1

Make sure you have added correct nuget source. You can see it using dotnet nuget list source

For me adding below nuget source solved the issue : dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org

Upvotes: 0

noobmaster007
noobmaster007

Reputation: 163

Closing all open Visual Studio windows and reopening the project worked for me.

Upvotes: 0

ARandomCoder
ARandomCoder

Reputation: 196

install entityframework not entityframeworkCore. entityframeworkCore is for .net core and won't work on standart .net application

Upvotes: 0

Related Questions