Open SaikatRoyChowdhury opened 4 years ago
@SaikatRoyChowdhury thanks for posting this comment. I'll do my best to help. Can you please provide specific details on what you are doing? For example, you did not mention which application this is. Did you build the MSI yourself? how? or did you get it from somewhere? Darren
@dargilco This code is the code that is uploaded here - https://github.com/Azure-Samples/Cognitive-Services-Voice-Assistant/tree/master/clients/csharp-wpf I just customized the name and icon and created a set up project to test the deployment. No code has been changed. Let me know if you need any further clarification.
@dargilco The code is giving correct output without issue if i run it in local but after creating the msi this problem is coming on Install --> run
Thanks for the additional information @SaikatRoyChowdhury. We have not tested the installer. The error you are getting indicates the installer does not know there is a dependency on the Speech SDK DLLs. I don't have time to look at it right now... is this something you can investigate? I would think since the project itself pulls in the Speech SDK NuGet, the installer will recognize this dependency. Or does the installer have a separate place where you list dependent DLLs? Darren
@dargilco Thanks for your input. I observed that Microsoft.CognitiveServices.Speech.core.dll is present under nativeasset folder but since only speech sdk nuget package is added into the project the set up project is taking only that package.
@qfweiwei @dargilco Any update since? We packaged using MSIX via Store and occasionally on some PCs we get Unable to load DLL 'Microsoft.CognitiveServices.Speech.core.dll' or one of its dependencies: The specified module could not be found.
It is fine on most.
Apparently there is a workaround described here: https://github.com/Azure-Samples/Cognitive-Services-Voice-Assistant/commit/34c9058d424123045003ae9420b7986039e375b2 from a closed issue https://github.com/Azure-Samples/Cognitive-Services-Voice-Assistant/issues/150
Is there a more permanent solution?
Getting error while running the installer. Microsoft.CognitiveServices.Speech.csharp : Unable to load DLL 'Microsoft.CognitiveServices.Speech.core.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) Attached the msi.. AskAdamSetUp.zip