为 .net 4.5.2 安装包 Microsoft.EntityFrameworkCore.SqlServer
Install package Microsoft.EntityFrameworkCore.SqlServer for .net 4.5.2
我正在尝试安装软件包 Microsoft.EntityFrameworkCore.SqlServer
但是
在 PMC 中,我收到以下错误消息:
Install-Package : Could not install package
'Microsoft.EntityFrameworkCore.SqlServer 2.2.6'. You are trying to
install this package into a project that targets
'.NETFramework,Version=v4.5.2', but the package does not contain any
assembly references or content files that are compatible with that
framework. For more information, contact the package author. At line:1
char:1
+ Install-Package Microsoft.EntityFrameworkCore.SqlServer
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
如何为 .NET Framework 4.5.2 安装它?
我正在尝试安装软件包 Microsoft.EntityFrameworkCore.SqlServer
但是
在 PMC 中,我收到以下错误消息:
Install-Package : Could not install package 'Microsoft.EntityFrameworkCore.SqlServer 2.2.6'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5.2', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author. At line:1 char:1 + Install-Package Microsoft.EntityFrameworkCore.SqlServer + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Install-Package], Exception + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
如何为 .NET Framework 4.5.2 安装它?