De-Serialization problems

Jun 21, 2013 at 4:43 PM
Geert,
After my initial problems, I really have come to like and enjoy working with Catel. Now I have run into an issue with the DataModel serialization. I have a Datamodel that is located in a dll that is in a directory that is different than the location of the exe. Of course when trying to deserialize the Datamodel I get a "[SerializationException] System.Runtime.Serialization.SerializationException: Unable to find assembly" error. Don't know how to approach this problem with Catel. Some direction would be appreciated.
Thanks in advance
Bob
Coordinator
Jun 24, 2013 at 4:25 AM
Hi Bob,

You will have to load the assembly in the appdomain yourself. You can do this via Assembly.Load. You can also take a look at the PreloadAssemblies extension method on AppDomain. It allows you to preload a directory of assemblies.
Jun 26, 2013 at 12:57 PM
Thanks, got it working fine
Bob