I am trying to do a project that uses the windows speech recognition libraries and I am trying to add a reference to System.speech since I am using:
SpeechSynthesizer synth = new SpeechSynthesizer();
However, I can't find System.speech in the .NET tab when I try to add a reference. I updated my .NET Framework and still can't find it. Is there a way to simply add it?
Click on Project in the menu bar then click on Add Reference. Click on the .NET tab in the window that appears. Search and select System.Speech. Click OK. It should work after that.
Check the reference assemblies directory typically found in : C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0\
That should have a copy of System.Speech dll
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With