The type or namespace name 'Description' does not exist in the namespace 'System.Web.Http'

Visual Studio 2012 SPA Template /Help/index.cshtml file was throwing your error.

@using System.Web.Http
@using System.Web.Http.Description  <=== CS0234: The type or namespace name ‘Description‘ does not exist in the namespace ‘System.Web.Http‘ (are you missing an assembly reference?)

Solution: Set "Copy Local : True" in properties for References\System.Web.Http

http://stackoverflow.com/questions/12271431/system-web-http-description-is-missing-from-add-reference-list

The type or namespace name 'Description' does not exist in the namespace 'System.Web.Http'

时间: 2024-11-07 09:32:33

The type or namespace name 'Description' does not exist in the namespace 'System.Web.Http'的相关文章

The type or namespace name &#39;Script&#39; does not exist in the namespace &#39;System.Web&#39; (are you missing an assembly reference?)

应该说是 .net4 的bug,没有所谓的 System.Web.Extensions.dll 库文件,需要将项目的 Target Framework修改为 3.5版本,才能加载System.Web.Extensions.dll库文件. 我在使用 System.Web.Script.Serialization.JavaScriptSerializer 类解析嵌套的json时)用到. The type or namespace name 'Script' does not exist in the

The type or namespace name &#39;Html&#39; does not exist in the namespace &#39;System.Web.Mvc&#39; (are you missing an assembly reference?)

The type or namespace name 'Html' does not exist in the namespace 'System.Web.Mvc' (are you missing an assembly reference?) solution: right click on reference system.web.mvc, toggle "Copy local" to "true". The type or namespace name 'H

Asp.net - The type or namespace name &#39;App_Code&#39; does not exist in the namespace &#39;xxx&#39; (are you missing an assembly reference?)

我在 项目 下面创建一个 App_Code的文件夹,然后在其下创建自定义的类,但是当我在该项目下别的地方使用时报错: The type or namespace name 'App_Code' does not exist in the namespace 'xxx' (are you missing an assembly reference?) 解决方案: 1,在创建的类上右键,选择 Properties,如图: 2,将 Build Action 属性设置为 Compile,如图: 即可.

【解决】System.Web.Http.Description 缺失

一.问题描述 使用visual studio 2013创建mvc4 api模板,然后build,run,broken,出错如下: Error 1 The type or namespace name 'Description' does not exist in the namespace 'System.Web.Http' (are you missing an assembly reference?) 二.分析 System.Web.Http.Description 缺失 三.解决 右键项目

The content of element type &quot;beans&quot; must match &quot;(description?,(import|alias|bean)*)

The content of element type "beans" must match "(description?,(import|alias|bean)*) ------------------------------------------------- 解决方案: 版本问题,xml修改成这样就可以了,亲测 <?xml version="1.0" encoding="UTF-8" ?> <!-- 必须配置一

The tag &#39;ChartPlotter&#39; does not exist in XML namespace

本地build的时候每次都是OK的,但是Shelveset到Server上build的时候,总是出错. 果断google/bing了几个建议,无果. 不得不重新仔细的看server上的building log,然后发现, Considered "..\ExternalDrops\DynamicDataDisplay.dll", but it didn't exist. 晕菜,原来这些文件并没有被加入到server上. 查了一下,还有其他的文件也没有被加入,在“Source Contro

Could not load type &#39;System.Web.Mvc.ViewPage&lt;dynamic&gt;&#39; in asp.net mvc2 after publishing the website

在WebConfig里 找到 <pages></pages> <pages pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" pageBaseType="System.Web.Mvc.ViewPage, System

(XAML)&quot;XXXX&quot; does not exist in the namespace &quot;clr-

Error 139 Assembly 'System.Activities.Core.Presentation' was not found. Verify that you are not missing an assembly reference. Also, verify that your project and all referenced assemblies have been built. EnumerationTestDesigner.xaml 6 17 LoganTestsE

react-native run-android Starting: Intent Error type 3 Error: Activity class does not exist

使用"react-native run-android"命令运行android应用时,如果常常出现如下错误: Starting the app (/home/xxx/soft/sdk//platform-tools/adb shell am start -n xxx/.MainActivity)- Starting: Intent { cmp=xxx/.MainActivity } Error type 3 Error: Activity class {xxx/xxx.MainActi