我创建了一个服务,调用它并执行它时出现以下错误.有人告诉我这是什么错误
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"
发布评论