VS vstest调试错误

发布于 2024-07-05 20:41:58 字数 1535 浏览 4 评论 0原文

我最近安装了VS2008。 我正在从事的项目使用 vstest,但我遇到了一个令人抓狂的问题。 当我选择运行/调试我的测试/测试时,我经常收到以下错误(伴随着针对测试的感叹号 - 测试错误):

警告:测试运行部署问题:程序集或模块“Cassini”直接或间接引用通过测试容器''没有找到。 无法对测试运行“pendi@UK00329 2008-09-19 14:37:39”进行排队:无法启动程序“C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\vstesthost.exe”。

Visual Studio DLL coloader80.dll 未正确安装。 请通过控制面板中的“添加或删除程序”修复您的 Visual Studio 安装。

如果问题仍然存在,您可以使用“regsvr32“%CommonProgramFiles%\Microsoft Shared\VS7Debug\coloader80.dll””从命令提示符手动注册 coloader80.dll。

现在它是一个 ASP.Net 站点,并且有一些 Web 服务等。这很奇怪,因为注册 dll 永远不会起作用。 有时,干净+跑动会起作用。 有时是运行(而不是调试),有时是调试(而不是先前的运行)。

令人抓狂。 Google 告诉我注册以下 dll:

这仍然是偶尔有效的。 我还尝试过 VS Repair 安装选项。

如果有人破解了这个/知道这个问题,请告诉我,

谢谢


Microsoft 的 ian...那些丢失的 dll。 我发现解决方案也是零星的。 还有其他想法吗?

  1. 将以下文件替换为 Visual Studio 中的等效文件 .NET 工作室

安装介质:

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

2. Register each DLL above with regsvr32.EXE, e.g:
regsvr32 "ProgramFiles\Common Files\Microsoft Shared\VS7Debug\coloader.dll"

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):

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'.

A Visual Studio DLL, coloader80.dll, is not correctly installed. Please repair your Visual Studio installation via 'Add or Remove Programs' in Control Panel.

If the problem persists, you can manually register coloader80.dll from the command prompt with 'regsvr32 "%CommonProgramFiles%\Microsoft Shared\VS7Debug\coloader80.dll"'.

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).

Maddening. Google tells me to register the following dlls:

This works, again sporadically. I've also tried the VS Repair install option.

Please let me know if someone has cracked this / knows the problem

Thanks ian


from Microsoft... those missing dlls. I find the solution is (also) sporadic. Any other ideas ??

  1. Replace the following files with their equivalents from the Visual
    Studio .NET

installation media:

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

2. Register each DLL above with regsvr32.EXE, e.g:
regsvr32 "ProgramFiles\Common Files\Microsoft Shared\VS7Debug\coloader.dll"

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

自由范儿 2024-07-12 20:41:58

顺便说一句 - 我找到了答案。 或者一个答案。

使用 Process Explorer,我跟踪了 coloader80.dll。 VS 使用了它(因为调试使用了它,所以无法理解),SSMS 也使用了它。

所以...看起来 SqlServerManagementStudio 有一个 VS 调试 dll 的钩子,从而创建了锁。 现在我只是一次打开一个,但我对此感到非常震惊......希望能够修复。

btw - I found the answer. Or an answer.

using Process Explorer, I traced coloader80.dll. This was used by VS (undetandable enough as it's used by debugging) but also SSMS.

So... it seems SqlServerManagementStudio had a hook to the VS debuggging dll, thus creating the lock. For now I'm just opening one at a time, but I'm quite stunned by that.... hope a fix is forthcoming.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文