在程序集中定义了"System.Runtime.Serialization.IExtensibleDataObject"

编程入门 行业动态 更新时间:2024-10-22 13:36:11
本文介绍了在程序集中定义了"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"

本文发布于:2023-11-10 02:22:34,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1574080.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:定义   程序   quot   System   Serialization

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!