some time ago I worte a Text to Speech and Speech to Text bot with Visual Studio. It works fine on my Windows PC. I decided to bring this software to a Raspberry Pi 4 with Raspbian, but when I tried loading my Application this Error Popped Up:
Unhandled Exception: System.TypeLoadException: Could not load type of field 'MyAppName.Form1:speechRecognizer' (2) due to: Could not load file or assembly 'Microsoft.CognitiveServices.Speech.csharp, Version=1.6.0.28, Culture=neutral, PublicKeyToken=d2e6dcccb609e663' or one of its dependencies. [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type of field 'MyAppName.Form1:speechRecognizer' (2) due to: Could not load file or assembly 'Microsoft.CognitiveServices.Speech.csharp, Version=1.6.0.28, Culture=neutral, PublicKeyToken=d2e6dcccb609e663' or one of its dependencies.
I'm new to Linux and don't know how to fix this!