I recently installed VS2008. The project I'm working on uses vstest and I have a crazy problem. When I choose to run / debug my tests / test, I often get the following error (followed by an exclamation mark against the test error):
Warning: test run deployment problem: assembly or Cassini module directly or indirectly referred to by the test container '' was not found. Failed to start test run 'pendi @ UK00329 2008-09-19 14:37:39': Failed to start program 'C: \ Program Files \ Microsoft Visual Studio 9.0 \ Common7 \ IDE \ vstesthost.exe'.
Incorrect installation of the Visual Studio DLL, coloader80.dll. Restore your Visual Studio installation using the Add or Remove Programs tool in Control Panel.
If the problem persists, you can manually register coloader80.dll from the command line using 'regsvr32'% CommonProgramFiles% \ Microsoft Shared \ VS7Debug \ coloader80.dll ".
Now it is an ASP.Net site and has some web services, etc. Everything is rather strange, since rebooting the dll NEVER works. Sometimes clean + mileage works. Sometimes a launch (rather than debugging) is sometimes a debugger (and not a previous launch).
Maddening. Google informs me of the registration of the following DLLs:
It works, again sporadically. I also tried installing the VS Repair installation.
Please let me know if someone has cracked it / knows the problem
Thanks ian
from Microsoft ... those missing dlls. I find the solution (also) sporadic. Any other ideas?
- Replace the following files with your equivalents from Visual Studio .NET
installation media:
\ \Microsoft Shared\VS7Debug\coloader.dll \ \Microsoft Shared\VS7Debug\csm.dll \ \Microsoft Shared\VS7Debug\msdbg2.dll \ \Microsoft Shared\VS7Debug\pdm.dll \ \Microsoft Shared\VS7Debug\vs7jit.exe \ \Microsoft Shared\VS7Debug\mdm.exe
2. Register each DLL above with regsvr32.EXE, e.g:
regsvr32 "ProgramFiles\Common Files\Microsoft Shared\VS7Debug\coloader.dll"