Solved

.NET Late Binding and Serialization with Generic Classes

Posted on 2014-03-18
3
215 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
Comment Utility
Can you show us the full exception?
0
 

Accepted Solution

by:
aferia earned 0 total points
Comment Utility
0
 

Author Closing Comment

by:aferia
Comment Utility
This explains it well.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This video discusses moving either the default database or any database to a new volume.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now