Xaml 未找到Microsoft.CognitiveServices.Speech.Core.dll异常
我正在开发混合xamarin表单应用程序,该应用程序使用microsoft azure上的认知服务.Net标准2.0。获得了nuget软件包,包括CognitiveServices 0.1.0、Microsoft.CognitiveServices.Speech 1.3.1以及Xamarin.Forms 3.5.0 Nuget软件包更新为最新版本。我在VS2017 IDE的Win7机器上运行这个。找不到任何资源来解决我的异常。该解决方案已成功构建,但在运行时无法在genymotion emulator上使用Microsoft.CognitiveServices.Speech.core.dll中的Xaml 未找到Microsoft.CognitiveServices.Speech.Core.dll异常,xaml,xamarin,microsoft-speech-api,Xaml,Xamarin,Microsoft Speech Api,我正在开发混合xamarin表单应用程序,该应用程序使用microsoft azure上的认知服务.Net标准2.0。获得了nuget软件包,包括CognitiveServices 0.1.0、Microsoft.CognitiveServices.Speech 1.3.1以及Xamarin.Forms 3.5.0 Nuget软件包更新为最新版本。我在VS2017 IDE的Win7机器上运行这个。找不到任何资源来解决我的异常。该解决方案已成功构建,但在运行时无法在genymotion emula
DllNotFoundException
Microsoft.CognitiveServices.Speech不支持Xamarin.Android | iOS。它确实包括Linux和Windows支持,包括本机麦克风/扬声器支持 您可能正在寻找“Microsoft认知服务”,在该服务中,您必须为麦克风录制/流媒体等提供自己的本地支持
Microsoft.CognitiveServices.Speech SDK 1.7.0版支持Xamarin(UWP、Android和iOS)。请尝试一下。我相信Xamarin示例使用的是REST API,而不是客户端库
.
├── build
│ ├── Microsoft.CognitiveServices.Speech.props
│ ├── REDIST.txt
│ ├── native
│ │ ├── Microsoft.CognitiveServices.Speech.targets
│ │ ├── Win32
│ │ │ └── Release
│ │ │ ├── Microsoft.CognitiveServices.Speech.core.dll
│ │ │ └── Microsoft.CognitiveServices.Speech.core.lib
│ │ ├── include
│ │ │ ├── c_api
│ │ │ │ ├── speechapi_c.h
│ │ │ │ ├── speechapi_c_audio_config.h
│ │ │ │ ├── speechapi_c_audio_stream.h
│ │ │ │ ├── speechapi_c_audio_stream_format.h
│ │ │ │ ├── speechapi_c_common.h
│ │ │ │ ├── speechapi_c_connection.h
│ │ │ │ ├── speechapi_c_error.h
│ │ │ │ ├── speechapi_c_factory.h
│ │ │ │ ├── speechapi_c_intent_recognizer.h
│ │ │ │ ├── speechapi_c_intent_result.h
│ │ │ │ ├── speechapi_c_intent_trigger.h
│ │ │ │ ├── speechapi_c_keyword_recognition_model.h
│ │ │ │ ├── speechapi_c_language_understanding_model.h
│ │ │ │ ├── speechapi_c_property_bag.h
│ │ │ │ ├── speechapi_c_recognizer.h
│ │ │ │ ├── speechapi_c_result.h
│ │ │ │ ├── speechapi_c_session.h
│ │ │ │ ├── speechapi_c_speech_config.h
│ │ │ │ ├── speechapi_c_translation_recognizer.h
│ │ │ │ ├── speechapi_c_translation_result.h
│ │ │ │ ├── spxdebug.h
│ │ │ │ └── spxerror.h
│ │ │ └── cxx_api
│ │ │ ├── speechapi_cxx.h
│ │ │ ├── speechapi_cxx_audio_config.h
│ │ │ ├── speechapi_cxx_audio_stream.h
│ │ │ ├── speechapi_cxx_audio_stream_format.h
│ │ │ ├── speechapi_cxx_common.h
│ │ │ ├── speechapi_cxx_connection.h
│ │ │ ├── speechapi_cxx_connection_eventargs.h
│ │ │ ├── speechapi_cxx_enums.h
│ │ │ ├── speechapi_cxx_eventargs.h
│ │ │ ├── speechapi_cxx_eventsignal.h
│ │ │ ├── speechapi_cxx_intent_recognition_eventargs.h
│ │ │ ├── speechapi_cxx_intent_recognition_result.h
│ │ │ ├── speechapi_cxx_intent_recognizer.h
│ │ │ ├── speechapi_cxx_intent_trigger.h
│ │ │ ├── speechapi_cxx_keyword_recognition_model.h
│ │ │ ├── speechapi_cxx_language_understanding_model.h
│ │ │ ├── speechapi_cxx_properties.h
│ │ │ ├── speechapi_cxx_recognition_async_recognizer.h
│ │ │ ├── speechapi_cxx_recognition_base_async_recognizer.h
│ │ │ ├── speechapi_cxx_recognition_eventargs.h
│ │ │ ├── speechapi_cxx_recognition_result.h
│ │ │ ├── speechapi_cxx_recognizer.h
│ │ │ ├── speechapi_cxx_session.h
│ │ │ ├── speechapi_cxx_session_eventargs.h
│ │ │ ├── speechapi_cxx_smart_handle.h
│ │ │ ├── speechapi_cxx_speech_config.h
│ │ │ ├── speechapi_cxx_speech_recognition_eventargs.h
│ │ │ ├── speechapi_cxx_speech_recognition_result.h
│ │ │ ├── speechapi_cxx_speech_recognizer.h
│ │ │ ├── speechapi_cxx_speech_translation_config.h
│ │ │ ├── speechapi_cxx_string_helpers.h
│ │ │ ├── speechapi_cxx_translation_eventargs.h
│ │ │ ├── speechapi_cxx_translation_recognizer.h
│ │ │ └── speechapi_cxx_translation_result.h
│ │ └── x64
│ │ └── Release
│ │ ├── Microsoft.CognitiveServices.Speech.core.dll
│ │ └── Microsoft.CognitiveServices.Speech.core.lib
│ └── net461
│ └── Microsoft.CognitiveServices.Speech.targets
├── lib
│ ├── net461
│ │ ├── Microsoft.CognitiveServices.Speech.csharp.dll
│ │ └── Microsoft.CognitiveServices.Speech.csharp.xml
│ ├── netstandard2.0
│ │ ├── Microsoft.CognitiveServices.Speech.csharp.dll
│ │ └── Microsoft.CognitiveServices.Speech.csharp.xml
│ └── uap10.0
│ ├── Microsoft.CognitiveServices.Speech.csharp.dll
│ └── Microsoft.CognitiveServices.Speech.csharp.xml
├── microsoft.cognitiveservices.speech.1.3.1.nupkg
├── microsoft.cognitiveservices.speech.1.3.1.nupkg.sha512
├── microsoft.cognitiveservices.speech.nuspec
└── runtimes
├── linux-x64
│ ├── lib
│ │ └── netstandard2.0
│ │ ├── Microsoft.CognitiveServices.Speech.csharp.dll
│ │ └── Microsoft.CognitiveServices.Speech.csharp.xml
│ └── native
│ └── libMicrosoft.CognitiveServices.Speech.core.so
├── win-x64
│ ├── native
│ │ └── Microsoft.CognitiveServices.Speech.core.dll
│ └── nativeassets
│ └── uap
│ └── Microsoft.CognitiveServices.Speech.core.dll
└── win-x86
├── native
│ └── Microsoft.CognitiveServices.Speech.core.dll
└── nativeassets
└── uap
└── Microsoft.CognitiveServices.Speech.core.dll