哪里是System.ServiceModel.Web.dll? [英] Where is System.ServiceModel.Web.dll?

查看:171
本文介绍了哪里是System.ServiceModel.Web.dll?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个Windows服务公开了一个WCF服务旨在通过Silverlight应用程序消耗,如本博客文章解释说:<一href="http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2008/03/27/10291.aspx">http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2008/03/27/10291.aspx

I am developing a Windows service that exposes a WCF service intended to be consumed by a Silverlight application, as explained in this blog post: http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2008/03/27/10291.aspx

我现在面临的问题是,我需要使用<一个href="http://msdn.microsoft.com/en-us/library/system.servicemodel.web.webinvokeattribute.aspx">WebInvoke属性,这是在 System.ServiceModel.Web.dll 组装定义,但是当我尝试添加一个参考项目的组件(使用Visual Studio的添加引用对话框 - .NET选项卡上),没有与该名称的程序集

The problem I am facing is that I need to use the WebInvoke attribute, which is defined in the System.ServiceModel.Web.dll assembly, but when I try to add a reference to that assembly in the project (by using Visual Studio's Add Reference dialog - .NET tab), there is no assembly with that name.

所以,我做错了什么,该组件是不是标准的.NET Framework的一部分,或者是在Visual Studio中的错误?顺便说一句,我使用VS2010 Beta 2和项目面向.NET Framework 4中。

So, am I doing something wrong, this assembly is not part of the standard .NET Framework, or it is a bug in Visual Studio? By the way I'm using VS2010 beta 2 and the project targets .NET Framework 4.

推荐答案

您打靶.NET4全部或客​​户端配置文件?后者不包括System.ServiceModel.Web装配

Are you targetting .NET4 Full or Client Profile? The latter does not include the System.ServiceModel.Web assembly.

这篇关于哪里是System.ServiceModel.Web.dll?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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