title: nunit problem loading exe
body: <p>following situation:</p>
  
  <ul>
  <li><p>tests.dll contains a bunch of unit
  tests</p></li>
  <li><p>program.exe contains some to be tested
  classes</p></li>
  <li><p>tests.dll contains tests using the
  classes in program.exe</p></li>
  <li><p>therefore tests.dll has a reference
  on program.exe</p></li>
  <li><p>nunit-agent.exe loads tests.dll and this then loads program.exe</p></li>
  </ul>
  
  <p>--> basically in the nunit environment program.exe is used like a dll.
  'misusing' an exe as dll is possible as i just wrote a little test application that also references program.exe and uses some classes defined in there and this runs fine ...</p>
  
  <p>BUT in nunit i get a BadImageFormatException as soon as tests are loaded that use code defined in program.exe</p>
  
  <p>is this a bug in nunit's reflection mechanism or is there a reason for that?</p>
  
  <p>thx 
  tobi</p>