Share via


Unable to find assembly within same project and DLL while deserialize

Question

Thursday, February 16, 2017 9:37 AM

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

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.

All replies (1)

Friday, February 17, 2017 8:39 AM

Hi Dhiraj Lotake,

Thank you for posting here.

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

If it could not solve your question, could you provide some demo code for us to repeat your error message?

We are waiting for your update.

Best Regards,

Wendy

MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].