Microsoft.CognitiveServices.Speech.core.dll

stephen Makumbi 5 Reputation points
2024-06-14T16:59:20.87+00:00

I developed a WPF .Net app using CognitiveServices.Speech and published it.

When I transfer the published folder to another PC and run, the app stops after a few seconds with the following error.

An unhandled exception occurred: Unable to load DLL 'Microsoft.CognitiveServices.Speech.core.dll' or one of its dependencies: The specified module could not be found. (0x8007007E)

This happens whether the publishing options imbed or not embed the dll's into the executable file.
Or if I select stand alone or not target executable.

Would be grateful if someone could point me to whet I may be missing.

Stephen

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,516 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VasaviLankipalle-MSFT 15,836 Reputation points
    2024-06-14T20:44:18.0666667+00:00

    Hello @stephen Makumbi , Thanks for using Microsoft Q&A Platform.

    Try to make sure that the 'Microsoft.CognitiveServices.Speech.core.dll' file / dependencies are included in the published folder. You can also try restarting and see if that resolves the issue.

    Here are the similar issues you can refer to: https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/1636

    https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/2002

    If you still face issue, please raise it here: https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues

    I hope this helps.

    Regards,

    Vasavi

    -Please kindly accept the answer and vote 'yes' if you feel helpful to support the community, thanks.

    0 comments No comments