我正在做一些WCF工作,我不明白为什么我会遇到这个错误。
命名空间中不存在System.Runtime.Serialization.DataContractAttribute
System.Runtime.Serializationmicrosoft文档清楚地显示了此层次结构
System.Object
System.Attribute
System.Runtime.Serialization.ContractNamespaceAttribute有人知道这是怎么回事吗?
发布于 2011-07-24 18:13:30
确保已将对System.Runtime.Serialization 程序集的引用添加到项目中。
https://stackoverflow.com/questions/6806187
复制相似问题