Solved

.NET Late Binding and Serialization with Generic Classes

Posted on 2014-03-18
3
217 Views
Last Modified: 2014-03-25
Hi,

I have an executable that is referencing a assembly using late binding. This assembly has a serializable class that contains a generic list of another serializable class delcared in the assembly as such:

<Serializable()> Public Class SomeSeriazableClass
<Serializable()> Public Class AnotherSerializableClass
Public Property MyString as string
End Class

Public Property MyList as list(of AnotherSerializableClass)
End Class

Open in new window


The binary serialization binder is blowing up because it cannot retrieve the "AnotherSerializableClass" type when requesting the generic list from the mscorlib.

I have ran out of ideas, is there anything that I can do to make this work?
0
Comment
Question by:aferia
  • 2
3 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 39940070
Can you show us the full exception?
0
 

Accepted Solution

by:
aferia earned 0 total points
ID: 39942640
0
 

Author Closing Comment

by:aferia
ID: 39952712
This explains it well.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question