Microsoft.CognitiveServices.Speech.Core.dll не найдено исключение - PullRequest
1 голос
/ 05 марта 2019

Я разрабатываю приложение гибридных форм xamarin с когнитивными услугами от Microsoft Azure для .Net стандарта 2.0 . Получил пакеты nuget CognitiveServices 0.1.0, Microsoft.CognitiveServices.Speech 1.3.1 вместе с Xamarin.Forms 3.5.0 .

Пакеты Nuget обновлены до последней версии. Я запускаю это на машине Win 7 от VS2017 IDE. Не удалось найти ресурсы для разрешения моего исключения. Решение создается успешно, но не выполняется во время выполнения на эмуляторе genymotion с DllNotFoundException в Microsoft.CognitiveServices.Speech.core.dll .

Exception screenshow

1 Ответ

0 голосов
/ 05 марта 2019

Microsoft.CognitiveServices.Speech не поддерживает Xamarin.Android | iOS. Он включает поддержку Linux и Windows, включая встроенную поддержку микрофона / динамика ...

Возможно, вы искали «Microsoft Cognitive Services», в которой вам нужно использовать собственную встроенную поддержку записи / потоковой передачи с микрофона и т. Д. ...

Microsoft.CognitiveServices.Speech (см. Раздел времени выполнения)

.
├── 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
...