Solved

.NET Late Binding and Serialization with Generic Classes

Posted on 2014-03-18
3
218 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

830 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