添加WCF服务引用失败解决办法
原文作者:Ken Wang
最近在玩SL4 beta,写了一个WCF的服务,在Silverlight Application中选择Add Service Reference,填入服务地址,但在生成服务引用代码(应该就是代理类)时发生错误:Error 7 Custom tool error: Failed to generate code for the service reference ‘xxx’. Please check other error and warning messages for details…进到Service References文件夹一看确实没有生产代码,Update Service Reference, 甚至删了重新添加也没有用。检查WCF服务也没有问题。而使用svcutil工具则能正常生成,但svcutil生成的引用代码却不能在SL中使用。最近在玩SL4 beta,写