Deserializing object

May 3, 2014 at 3:29 AM
Edited May 3, 2014 at 3:31 AM
Hi, i have a Model with property of type Object so it can be anything and now i'm facing problem that Catel can't find Type in TypeCache (during deserializing in function GetObjectFromXmlElement). This class is public and have public empthy constructor, also it templated, but it never used before deserializing (on startup).
I will be very appreciated for any help.
Coordinator
May 5, 2014 at 6:37 PM
Weird that Catel cannot find it in the TypeCache. That means that the assembly isn't even loaded into the AppDomain yet. In that case I recommend to load the assembly into the appdomain before trying to do anything with it.
May 5, 2014 at 7:05 PM
It is loaded. I'm sure, i've created a repro and bug : https://catelproject.atlassian.net/browse/CTL-435