Sonic Joe
Sonic Joe

Reputation: 13

Unable to use System.Speech.Recognition namespace in a Universal Windows App

I would like to use the SpeechRecognizer class from the System.Speech.Recognition namespace in a Universal Windows App. It has more events and more other features than SpeechRecognizer defined in Windows.Media.SpeechRecognition.

However, when I reference System.Speech.dll, for access to System.Speech.Recognition, I am getting error "Cannot find type System.MarshalByRefObject in module CommonLanguageRuntimeLibrary".

Is there a workaround to this or are classes defined in System.Speech.Recognition such as SpeechRecognizer and SpeechRecognitionEngine not meant to be used in Universal Windows Apps?

Thanks In Advance!

Upvotes: 0

Views: 584

Answers (1)

shagufta syed
shagufta syed

Reputation: 471

This isn't supported in UWP apps. (using System.Speech.Synthesis with Windows10 universal app (XAML-C#)) What feature or event you are looking for exactly?

Upvotes: 1

Related Questions