[英]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.我正在尝试在我的 WPF.Net 应用程序 Visual Studio 2017 中使用包管理器控制台安装包(Install-Package Microsoft.EntityFrameworkCore.SqlServer),但出现此错误。
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安装包:无法找到包 'Microsoft.EntityFrameworkCore.SqlServer' At line:1 char:1 + Install-Package Microsoft.EntityFrameworkCore.SqlServer + ~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Install-Package] , 异常 +fullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Please help me.请帮我。 Thank you.谢谢你。
install entityframework not entityframeworkCore.安装 entityframework 而不是 entityframeworkCore。 entityframeworkCore is for .net core and won't work on standart .net application entityframeworkCore 适用于 .net 核心,不适用于标准 .net 应用程序
关闭所有打开的 Visual Studio 窗口并重新打开项目对我有用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.