Reflection / Fusion / Open Source Mess

time to read 1 min | 194 words

I'm trying to load this type using Type.GetType(string):

Nullables.NHibernate.NullableDateTimeType, Nullables.NHibernate, Version=1.0.2.0, Culture=neutral, PublicKeyToken=154fdcb44c4484fc

The Nullables.NHiberante is loaded in the assembly, but I keep getting Strong Name Is Required exceptions.

After spending way too much time on this, I figured out that I had added a reference to the NHibernate project, and that the Nullables.NHibernate library was looking for the NHibernate library (this is important, since the NHibernate project is not signed and the library is). I solve this, and I get a strange error about a Nullables.NullableInt32 could not be assigned to Nullables.NullableInt32. It this mismatched version thingie again.

I solve that one, and everything works. It's like magic. I just tested it on a second computer in both .net 2.0  and .net 1.1, it appears to work there as well, so there is something horribly wrong in the horizon and it is closing fast. I've better release something before it arrive.