我想使用ChannelFactory<TChannel> Class
我正在尝试添加对System.ServiceModel.dll
的引用,但我没有在引用中看到它。
我看到System.ServiceModel.web.dll
,但它有所不同。
我正在使用VS 2010 .net 3.5。
知道这里有什么问题吗?
答案 0 :(得分:11)
执行:
这对我有用
答案 1 :(得分:4)
右键单击解决方案资源管理器中的项目,属性,然后再次检查并选择.NET Framework 3.5而不是客户端配置文件,您可能需要的所有其他信息都在这里,包括一个有用的屏幕截图:Where is System.ServiceModel.Web.dll?