Currently working on a .net project whose feature set will allow my to replace some older third party libraries used in a VB6 project that do not work properly under Vista 64bit edition.
Things that I have successfully completed:
- Replaced Microsoft IE6 era Web browser control with a .net webbrowser control in a winform.
- Replaced functionality of Microsoft Internet transfer control to download online files.
- Successfully extended Google Picasa API and Blogger API to VB6 through COM interop type library
- Successfully implemented binary serialization of Picasa and Blogger caching the data locally.
PicasaBloggerUserControls.DLL - .net 2.0 framework
Now to the problem: Deserialization:
Implemented code to de-serialize objects, which works fine in .net test app, but fails over COM:
SerializationException: Cannot find assembly...
Found the following articles:
Excellent article from http://spazzarama.wordpress.com/ describing the exact same problem:
C# – BinaryFormatter.Deserialize is “Unable to find assembly”
Documentation for SerializationBinder Class
I must give props to a co-worker Tom G. who pointed me in the correct direction of properly resolving the assembly by name. A problem that was solved at work on another project.
No comments:
Post a Comment