因此,通过搜索互联网,我设法找到了一个显然工作的“Google Voice API”。太棒了!我正在开发一个应用程序,用于检测服务器进程何时崩溃/出错,然后通过文本通知我。这将是非常有用的,因为服务器不是完全可靠的,有时需要重置,有时我懒得从沙发上脱下我的屁股/忙着做别的事情。使用Google Voice API编译C#.NET应用程序
反正API:
http://sourceforge.net/projects/gvoicedotnet/
我加入了DLL作为装起来也有智能感知参考,应有尽有。我将dll添加到我的.cs文件中(使用using
[哈哈])。在添加完所有内容之后,我决定编译,以确保它能够编译,当然它不会。
的错误:
Error 201 The type or namespace name 'Google' could not be found (are you missing a using directive or an assembly reference?)
总之,由于某种原因,在每次编译它删除DLL作为参考?这似乎是一个指标(我怀疑是参与)有些的唯一的事情是这样的警告
The referenced assembly "Google.Voice.Service, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL" could not be resolved because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project.
TL;博士参考自动保持未引用的成为。
你可能会发布一些代码? – 2012-01-05 02:13:08
您的应用程序使用.NET Framework的哪个版本进行编译? – 2012-01-05 02:16:27
System.Web不支持4个客户端配置文件。将版本更改为4.0完整 – kenny 2012-01-05 02:22:59