急!找不到类型或命名空间名称“DataContractAttribute”?

简介: using System.Runtime.Serialization; 同时手动添加引用。添加 System.Runtime.Serialization;dll文件到项目引用中。 引用:http://topic.csdn.net/u/20091202/20/4c8e516e-544d-449c-a1a0-b4a51b0a3dc6.html 因为我也出现过这种情况。

using System.Runtime.Serialization; 

同时手动添加引用。添加 System.Runtime.Serialization;dll文件到项目引用中。

引用:http://topic.csdn.net/u/20091202/20/4c8e516e-544d-449c-a1a0-b4a51b0a3dc6.html

因为我也出现过这种情况。

相关文章
|
11天前
|
弹性计算 运维 Unix
|
4月前
|
C++ 容器
C++开发之using定义模板别名
using 定义模板别名   都知道 typedef可以用来定义类型别名。例如typedef unsigned int uint_t; 相当于给unsigned int类型起了个别名uint_t
24 0
使用SnakeYaml进行解析时,忽略yaml中无法在类中找到属性的字段
使用SnakeYaml进行解析时,忽略yaml中无法在类中找到属性的字段
|
Java Spring 容器
找不到类型“ITOO.ExamEvalTemplate.WCFService.ServiceBusines”
找不到类型“ITOO.ExamEvalTemplate.WCFService.ServiceBusines”
73 0
找不到类型“ITOO.ExamEvalTemplate.WCFService.ServiceBusines”
|
Windows
命名空间“System”中不存在类型或命名空间名称“Windows”(是缺少程序集引用吗?)
命名空间“System”中不存在类型或命名空间名称“Windows”(是缺少程序集引用吗?)
命名空间“System”中不存在类型或命名空间名称“Windows”(是缺少程序集引用吗?)

相关实验场景

更多