Link to home
Start Free TrialLog in
Avatar of gromul
gromul

asked on

Could not load type - TypeLoadException problem

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?

Thanks!
SOLUTION
Avatar of Agarici
Agarici
Flag of Romania image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gromul
gromul

ASKER

Thanks