?
Solved

.NET Late Binding and Serialization with Generic Classes

Posted on 2014-03-18
3
Medium Priority
?
221 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

762 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