哪里是System.ServiceModel.Web.dll?

编程入门 行业动态 更新时间:2024-10-08 08:32:32
本文介绍了哪里是System.ServiceModel.Web.dll?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在开发一个Windows服务公开了一个WCF服务旨在通过Silverlight应用程序消耗,如本博客文章解释说:mtaulty/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: mtaulty/CommunityServer/blogs/mike_taultys_blog/archive/2008/03/27/10291.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?

本文发布于:2023-11-16 03:51:46,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1600743.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:ServiceModel   System   dll   Web

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!