I am building a state machine with windows workflow, and I am trying to new up an object from another assembly in my solution. When I build the solution, I get a TypeLoadException from the StateActivityValidator (which runs after a successful build to see that all the required properties are set and such).
The type I am trying to create an instance of is very simple, it has a default public constructor, and both assemblies are signed. Any ideas what the problem could be?
This problem was caused by having mismatched versions of these assemblies in the GAC.