一.问题描述 使用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 缺失 三.解决 右键项目
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.Ht
solution: Set "Copy Local : True" in properties for References\System.Web.Http 在http://stackoverflow.com找到的解决方案,在"引用"里面找到System.Web.Http ,设置属性复制到本地为True