I get this when trying to open a winforms form.
Could not find type 'MyCompany.MyControls.MyControl'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.
The variable 'NavigationControl' is either undeclared or was never assigned.
The assembly is signed, using "Delay sign only", since I include a manifest with mt.exe in a post-build event. Here I also re-sign the assembly with sn.exe:
sn.exe -R "$(TargetPath)" "$(ProjectDir)key.snk"
If I disable signing of the assembly altogether, it works.
Is there any other way to do this? I assume VS2010 is looking for the DLL using the wrong strong name or something...