I have two projects in one solution and I reference project 2 from project 1.
The code compiles, but when I try to run it, I get the following unhandled TypeLoadException:
System.TypeLoadException was unhandled
Message: Could not load type 'MyNamespace.Class2' from assembly 'Class1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
Any ideas what could be causing this and how to solve it?