我序列化一个单一类中不同类列表的数量.序列化功能正常工作,但 反序列化功能无法正常工作.
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中找到程序集
发布评论