I made a couple of changes to my working application and started getting the following error at this line of code.
Dim Deserializer As New Serialization.XmlS
How did you load the assembly containing the Groups
type? I'm guessing you loaded it with Assembly.LoadFrom()
because the XML serializer is using the same context (the 'LoadFrom' context) to attempt to load assemblies for serialization. If so, you have a couple of options:
Assembly.Load()
instead of Assembly.LoadFrom()
.AppDomain.AssemblyResolve
to help the CLR find the assembly in question.