Reference project causes "Could not load file or assembly" within my own solution

414 views Asked by At

I have 2 projects within my solution. In my second project I want to use some of my classes from my first project. I added a reference in my second project to my first project, however when I try and call/invoke/instantiate any object in my second project from my first project I get a:

Could not load file or assembly 'MyFirstProject, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.

For example, if I try and create a List it will throw the error above

Any ideas? Thomas

0

There are 0 answers