测试 Visual Studio 2008 包

发布于 2024-08-09 22:22:28 字数 278 浏览 3 评论 0原文

我正在开发 Visual Studio 集成包。当我尝试运行模板中包含的单元测试项目中包含的单元测试时,我在第一次测试中遇到以下失败:

测试适配器“VsIdeHostAdapter” 运行测试时抛出异常 '菜单项回调'。呼叫被拒绝 由被调用者。 (HRESULT 的异常: 0x80010001(RPC_E_CALL_REJECTED))

它是间歇性的 - Visual Studio 的新实例总是启动,然后有时可以工作,但通常会失败。

I'm developing a Visual Studio Integration Package. When I try to run the Unit Tests that are included in the unit test project that is included in the template I get the following failure on the first test:

The test adapter 'VsIdeHostAdapter'
threw an exception while running test
'MenuItemCallback'. Call was rejected
by callee. (Exception from HRESULT:
0x80010001 (RPC_E_CALL_REJECTED))

It's intermittent- a new instance of Visual Studio always spins up, then sometimes it works but usually fails.

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

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

发布评论

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

评论(1

决绝 2024-08-16 22:22:28

事实证明这是一个已知问题 - 内置测试存在一些问题。

Turns out this is a known issue- the built-in tests have some problems.

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