我找不到System.speech [英] I can't find System.speech

查看:730
本文介绍了我找不到System.speech的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想这样做,使用Windows语音识别库的一个项目,我想添加的引用System.speech,因为我使用的:

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();

不过,我找不到System.speech在.NET选项卡,当我尝试添加引用。我更新了我的.NET框架,仍然无法找到它。有没有办法简单地增加吗?

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?

推荐答案

检查您的项目类型,并且它的目标框架的版本。

Check your project type, and the version of the framework it's targeting.

SpeechSynthesizer 存在于.NET 3.0,3.5和4 - 但只有在客户端配置文件的V4。如果您的项目针对其他任何东西,这可以解释为什么你没有看到它。否则,它应该在那里,虽然...

SpeechSynthesizer exists in .NET 3.0, 3.5 and 4 - but only in v4 of the client profile. If your project targets anything else, that would explain why you're not seeing it. Otherwise, it should be there though...

这篇关于我找不到System.speech的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆