我试图从 nuget 为我的 asp.net core 1.1 项目获取 dbup
Install-Package dbup-mysql -Version 3.3.5
并以这个问题告终。
安装包:包 dbup-mysql 3.3.5 与 netcoreapp1.1 (.NETCoreApp,Version=v1.1) 不兼容。包 dbup-mysql 3.3.5 支持:net35 (.NETFramework,Version=v3.5) At line:1 char:1 + Install-Package dbup-mysql -Version 3.3.5 + ~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Install-Package], Exception + FullyQualifiedErrorId : NuGetCmdletUnhandledException ,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand 安装包:包 dbup 3.3.5 与 netcoreapp1.1 (.NETCoreApp,Version=v1.1) 不兼容。包 dbup 3.3.5 支持:net35 (.NETFramework,Version=v3.5) At line:1 char:1 + Install-Package dbup-mysql -Version 3.3.5 + ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Install-Package], 异常 + FullyQualifiedErrorId:NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand 安装包:包还原失败。回滚“门户”的包更改。在 line:1 char:1 + Install-Package dbup-mysql -Version 3.3.5 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Install-Package], Exception + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
dbup 还不支持 dotnet core 吗?