在程序集中定义了"System.Runtime.Serialization.IExtensibleDataObject" [英] 'System.Runtime.Serialization.IExtensibleDataObject' is defined in an assembly

查看:70
本文介绍了在程序集中定义了"System.Runtime.Serialization.IExtensibleDataObject"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个服务,调用它并执行它时出现以下错误.有人告诉我这是什么错误

I have created a service and when calling it and executing it getting the following error.Anybody tell me what is this error

类型"System.Runtime.Serialization.IExtensibleDataObject"为在未引用的程序集中定义.您必须添加一个引用程序集"System.Runtime.Serialization,版本= 4.0.0.0,文化=中性,PublicKeyToken = b77a5c561934e089'

The type 'System.Runtime.Serialization.IExtensibleDataObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

我在项目中使用了System.Runtime.Serialization.

推荐答案

我已经在主文件中添加了System.Runtime.Serialization,并且该错误已消除.

I have added the System.Runtime.Serialization in the main file and the error is been removed.

这篇关于在程序集中定义了"System.Runtime.Serialization.IExtensibleDataObject"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆