title: VS vstest debugging error
body: <p>I've recently installed VS2008. The project I'm working on uses vstest and I have a maddening issue. When I choose to run/debug my tests/a test I frequently get the following error (accompanied by an exclamation mark against the test - test error):</p>
  
  <p>Warning: Test Run deployment issue: The assembly or module 'Cassini' directly or indirectly referenced by the test container '' was not found.
  Failed to queue test run 'pendi@UK00329 2008-09-19 14:37:39': Unable to start program 'C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\vstesthost.exe'.</p>
  
  <p>A Visual Studio DLL, coloader80.dll, is not correctly installed. Please repair your Visual Studio installation via 'Add or Remove Programs' in Control Panel.</p>
  
  <p>If the problem persists, you can manually register coloader80.dll from the command prompt with 'regsvr32 "%CommonProgramFiles%\Microsoft Shared\VS7Debug\coloader80.dll"'.</p>
  
  <p>Now it's an ASP.Net site and has some web services etc. All rather odd as resgistering the dll NEVER works. Sometimes a clean + run works. Sometimes a Run (rather than a debug) sometimes a Debug (rather than the prior run). </p>
  
  <p>Maddening. Google tells me to register the following dlls:</p>
  
  <p>This works, again sporadically. I've also tried the VS Repair install option.</p>
  
  <p>Please let me know if someone has cracked this / knows the problem</p>
  
  <p>Thanks ian</p>
  
  <hr>
  
  <p>from Microsoft... those missing dlls. I find the solution is (also) sporadic. Any other ideas ?? </p>
  
  <blockquote>
    <ol>
    <li>Replace the following files with their equivalents from the Visual
    Studio .NET</li>
    </ol>
  </blockquote>
  
  <p>installation media:</p>
  
  <blockquote>
    <p>Program Files\Common Files\Microsoft Shared\VS7Debug\coloader.dll
    Program Files\Common Files\Microsoft Shared\VS7Debug\csm.dll
    Program Files\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll
    Program Files\Common Files\Microsoft Shared\VS7Debug\pdm.dll
    Program Files\Common Files\Microsoft Shared\VS7Debug\vs7jit.exe
    Program Files\Common Files\Microsoft Shared\VS7Debug\mdm.exe</p>
  </blockquote>
  
  <pre><code>2. Register each DLL above with regsvr32.EXE, e.g:
  regsvr32 "ProgramFiles\Common Files\Microsoft Shared\VS7Debug\coloader.dll"
  </code></pre>