Azure-Samples / Cognitive-Speech-STT-Windows

Windows SDK for the Microsoft Speech-to-Text API, part of Cognitive Services
https://www.microsoft.com/cognitive-services/en-us/speech-api
Other
112 stars 89 forks source link

Unable to install SpeechRecognition from Nuget #10

Closed taimur38 closed 8 years ago

taimur38 commented 8 years ago

Have tried clearing all packages, uninstalling and reinstall nuget, restarting VS, running VS as administrator. Not sure if it's just a NuGet error, since I can install the Newtonsoft.Json package fine

VS2015, Windows10

PM> Install-Package Microsoft.ProjectOxford.SpeechRecognition-x86
Attempting to gather dependency information for package 'Microsoft.ProjectOxford.SpeechRecognition-x86.0.4.10.2' with respect to project 'Kinect8', targeting 'Windows,Version=v8.1'
Attempting to resolve dependencies for package 'Microsoft.ProjectOxford.SpeechRecognition-x86.0.4.10.2' with DependencyBehavior 'Lowest'
Resolving actions to install package 'Microsoft.ProjectOxford.SpeechRecognition-x86.0.4.10.2'
Resolved actions to install package 'Microsoft.ProjectOxford.SpeechRecognition-x86.0.4.10.2'
Adding package 'Microsoft.ProjectOxford.SpeechRecognition-x86.0.4.10.2' to folder '<path_1>'
Added package 'Microsoft.ProjectOxford.SpeechRecognition-x86.0.4.10.2' to folder '<path_1>'
Install failed. Rolling back...
Package 'Microsoft.ProjectOxford.SpeechRecognition-x86.0.4.10.2' does not exist in project 'Kinect8'
Removing package 'Microsoft.ProjectOxford.SpeechRecognition-x86.0.4.10.2' from folder '<path_1>'
Removed package 'Microsoft.ProjectOxford.SpeechRecognition-x86.0.4.10.2' from folder '<path_1>'
Install-Package : Failed to add reference to 'SpeechClient'.
At line:1 char:1
+ Install-Package Microsoft.ProjectOxford.SpeechRecognition-x86
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
jasonvomsft commented 8 years ago

The Windows STT SDK is not a UAP supported library. Try creating a desktop .NET application and running the same NuGet command.