Hi @vvaidya,
I have downloaded System.Speech dll and kept inside this "C:\Windows\Microsoft.NET\Framework\v4.0.30319" path, but when i am trying to browse for the System.Speech.Synthesis.SpeechSynthesizer i am not able to get that type. Could you please let me know how to get variable type of SpeechSynthesizer
Thanks Abhay, but still for assigning variable synth=New System.Speech.Synthesis.SpeechSynthesizer(). we require speechsynthesizer as data type which i’m not getting.
Ok got it, as mentioned by @vvaidya open your main xaml file (with notepad++) which contains speechsythesizer variable. Add line shown in image
inside <sco:Collection x:TypeArguments=“AssemblyReference”>. Then you will get variable type as speechsynthesizer.