无法安装软件包SpeechToText.v1 2.7.0。您正在尝试将此软件包安装到目标项目中。 NETPortable,Version = v4.5

时间:2018-08-29 11:43:28

标签: ibm-watson

我在C#类库(可移植)上以逗号以下运行,但在包管理器控制台中却出现以下错误。

PM>安装软件包IBM.WatsonDeveloperCloud.SpeechToText.v1

Attempting to gather dependency information for package 'IBM.WatsonDeveloperCloud.SpeechToText.v1.2.7.0' with respect to project 'ClassLibrary1', targeting '.NETPortable,Version=v4.5,Profile=Profile49' Gathering dependency information took 2.1 ms Attempting to resolve dependencies for package 'IBM.WatsonDeveloperCloud.SpeechToText.v1.2.7.0' with DependencyBehavior 'Lowest' Resolving dependency information took 0 ms Resolving actions to install package 'IBM.WatsonDeveloperCloud.SpeechToText.v1.2.7.0' Resolved actions to install package 'IBM.WatsonDeveloperCloud.SpeechToText.v1.2.7.0' Retrieving package 'IBM.WatsonDeveloperCloud.SpeechToText.v1 2.7.0' from 'nuget.org'. Install failed. Rolling back... Package 'IBM.WatsonDeveloperCloud.SpeechToText.v1.2.7.0' does not exist in project 'ClassLibrary1' Package 'IBM.WatsonDeveloperCloud.SpeechToText.v1.2.7.0' does not exist in folder 'C:\Users\Radamatic4\source\repos\CameraGallery\packages' Executing nuget actions took 481.83 ms Install-Package : Could not install package 'IBM.WatsonDeveloperCloud.SpeechToText.v1 2.7.0'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile49', 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 IBM.WatsonDeveloperCloud.SpeechToText.v1 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Install-Package], Exception + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

这是我班级图书馆的详细信息 enter image description here

0 个答案:

没有答案