I have a user control that uses assemblies that are dependent on the WPFToolkit.dll assembly. My control works fine in WPF applications and WinForms application using the ElementHost.
However, when I try using the control in an application that requires strong typing (signed assemblies) I run into issues and my control throws an error:
"Could not load file or assembly 'WPFToolkit' or one of its dependencies. An argument was out of its legal range."
I suspect that this could be from the lack of a signature on the WPFToolkit, can anyone confirm? I tried downloading the source code, signing it and recompiling but there were so many invalid references in the code that I just gave up.
I'd appreciate if anyone could shed some light on this.