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 88 forks source link

Can not load SpeechClient.dll #54

Open hogragon opened 6 years ago

hogragon commented 6 years ago

Hi,

I use the SDK library to build the application with Speech Client. Every machine works well except one machine got this issue below. I tried to build the project with x64, x86 but nothing changes. Could you help me with this issue? Thank you.

Warning when build 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(2052,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "SpeechClient, Version=0.0.0.0, Culture=neutral, PublicKeyToken=720c26922c782415, processorArchitecture=AMD64", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. Runtime error Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'SpeechClient.dll' or one of its dependencies. The specified module could not be found.

zhouwangzw commented 6 years ago

We have published new speech SDK. I would encourage you to use the new SDK since it contains more features and functionality.

Thanks,