This is an oddball question but I'm going to throw it out here to see if I'm missing a workaround.
I am trying to serialize my NHibernate configuration to a file to improve startup time. This is the link to Ayende's article that referred to the technique.
http://msdn.microsoft.com/en-us/magazine/ee819139.aspx
The problem I'm having is I am using type converters in LLBLGen. I added the serializable attribute to the converters to see how far I could get. The binaryformatter fails because System.ComponentModel.TypeConverter is not serializable.
As far as I can tell the only alternative is to remove the type converters from the NHibernate side of things and handle the conversion in my DTOs.
Has anyone else run into this? Am I missing something?
Thanks,
Dave Erwin