反序列化时无法在同一项目和DLL中找到程序集

编程入门 行业动态 更新时间:2024-10-24 02:34:57
本文介绍了反序列化时无法在同一项目和DLL中找到程序集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我序列化一个单一类中不同类列表的数量.序列化功能正常工作,但 反序列化功能无法正常工作.

I Serialize the number of different list of classes inside from one single class. Serialize function work properly but Deserialize function not working properly.

错误:无法找到程序集'SEPL.AutoDCRBIM,版本= 1.0.0.0,区域性=中性,PublicKeyToken =空'."

Error : " Unable to find assembly 'SEPL.AutoDCRBIM, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'."

这两个功能都在同一项目中运行,而不是不同的项目.

Both functions are running in same project not different project.

序列化和反序列化功能都使用相同的程序集,该程序集是项目中的类文件.但没有运气.奇怪的是,序列化功能运行良好.它只是反序列化功能.我什至都放了两个功能 作为一个函数中的继续代码,再次序列化可以工作,但是反序列化则选择不工作.

Both serialize and deserialize functions are using the same assembly which is a class file in the project. but no luck. The thing which is weird is that the serialize function works well. it is just the deserialize function. I even put both functions as a continues code in one function again serialize works but deserialize choose to not to work.

推荐答案

嗨Dhiraj Lotake,

Hi Dhiraj Lotake,

谢谢您在这里发布.

对于错误消息,您可以参考 反序列化例外:无法在其中找到程序集 所以.有很好的解释.

For the error message, you could refer toDeserialization exception: Unable to find assemblyin SO. It has a good explanation.

如果无法解决您的问题,能否为我们提供一些演示代码来重复您的错误消息?

我们正在等待您的更新.

最好的问候,

温迪

更多推荐

反序列化时无法在同一项目和DLL中找到程序集

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

发布评论

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

>www.elefans.com

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