System.ServiceModel.dll在缺少引用的Visual Studio 2010 [英] System.ServiceModel.dll missing in references visual studio 2010
问题描述
我想用的ChannelFactory< TChannel>类
我想添加引用 System.ServiceModel.dll
,但我没有看到它的引用。
I want to use ChannelFactory<TChannel> Class
I am trying to add reference to System.ServiceModel.dll
but I not see it in the references .
我看到有 System.ServiceModel.web.dll
却是不同的东西。
I see there System.ServiceModel.web.dll
but it is something different .
我使用VS 2010的.NET 3.5。
I am using VS 2010 .net 3.5.
任何想法有什么问题在这里?
Any idea what is the issue here ?
推荐答案
右键单击Solution Explorer中的项目,属性,然后再次检查,并选择.NET Framework 3.5的,而不是客户端配置文件,您可能需要的所有其他信息在这里,其中包括一个有用的截图:哪里System.ServiceModel.Web.dll
right click on the project in solution explorer, properties, then check again and select .NET Framework 3.5 and not client profile, all other info you might need are here, including a helpful screenshot: Where is System.ServiceModel.Web.dll?
这篇关于System.ServiceModel.dll在缺少引用的Visual Studio 2010的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!