Не удалось установить пакет SpeechToText.v1 2.7.0. Вы пытаетесь установить этот пакет в целевой проект. NETPortable, Version = v4.5 - PullRequest
0 голосов
/ 29 августа 2018

Я работаю ниже запятой в C # Class Library (Portable), но я получаю ошибку ниже в консоли диспетчера пакетов.

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

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...