自动附加支持行为未完全成功

发布于 2024-11-08 13:01:09 字数 347 浏览 0 评论 0原文

我有一个包含多个 C# 项目的 Visual Studio 2010 解决方案,安装并启用了 Resharper 5.1。所有这些项目都以 .NET Framework 4 为目标。

该解决方案几个月来一直运行良好,但今天早上加载该解决方案时收到以下消息:

Visual Studio 2010 error

我四处寻找有关此消息含义的解释,但运气不佳。

此外,我无法重现此错误,并且它似乎没有破坏我的项目中的任何内容。

不过,我不喜欢这些无法解释的错误,所以我想知道读到这里的人是否知道根本原因?

I have a Visual Studio 2010 solution containing several C# projects, with Resharper 5.1 installed and enabled. All these projects target the .NET Framework 4.

This solution has been working fine for months, but this morning I got the following message when the solution was loaded:

Visual Studio 2010 error

I've looked around for an explanation on the meaning of this message, but with little luck.

Additionally, I haven't been able to repro this error, and it doesn't seem to have broken anything on my project.

Still, I don't like these kind of unexplained errors, so I was wondering if anyone reading this knows the root cause?

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

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

发布评论

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

评论(5

吻泪 2024-11-15 13:01:09

嗯,这很特别。它必须是调试器通知,VS 的一部分,它“附加”并使“托管”成为一个类别。另一个类别是“非托管”,一种不同类型的调试器界面。它显然在那里失去了理智。

对策依次为:

  1. 重启VS。
  2. 重新启动
  3. 安装Service Pack 1,它有许多调试器修复。

如果您还没有安装它,请考虑将列表向上移动 3 个,它有大量错误修复和调整,并且运行良好。

Hmm, that's special. It must be a debugger notification, the part of VS that 'attaches' and makes "Managed" a category. The other category is "Unmanaged", a different kind of debugger interface. It clearly lost its marbles there.

Counter-measures, in order, are:

  1. Restart VS.
  2. Reboot
  3. Install Service Pack 1, it has many debugger fixes.

Consider moving 3 up the list if you haven't installed it yet, there are a ton of bug fixes and tweaks and works well.

著墨染雨君画夕 2024-11-15 13:01:09

在 Visual Studio 2012 和 Windows 8.1 中,我遇到了这个问题,我从解决方案属性/构建/平台目标更改了 X86,然后我的问题得到解决。

In Visual Studio 2012 and Windows 8.1, I had this problem,I changed X86 from Solution Properties/Build/Platform target then my problem resolved.

北风几吹夏 2024-11-15 13:01:09

这件事困扰了我一段时间。最后我找到了解决方案。

当我按下帮助按钮时,他们建议我整理附加的调试选项。在没有任何结果的情况下,我最终设法检查了项目属性 - 调试下的启用 SQL Server 调试选项。

This has been nagging me for a while. Finally I found a solution.

When I press the help button they suggest I sort out the attached debug option. Without any result I finally managed to check the Enable SQL Server Debugging option under Project Properties - Debug.

梦回旧景 2024-11-15 13:01:09

我的设置与您完全相同:VS2010,其中有几个指向 Net 4 和 Resharper 5.1 的 C# 项目。我使用的是 Windows XP SP3
我遇到了完全相同的错误,并且任务栏中有一个空的 VS 图标。
当我将 VS 转移到我的主显示器(我有 2 个)并重新启动时,空图标消失了。看来VS不喜欢在第二台显示器上。
至于你的错误,我清理了Resharper缓存(我将其存储在TEMP文件夹中,而不是解决方案文件夹中)重新启动,并且没有再次收到错误

I have the exact same setting as you: VS2010 with several C# projects pointing to Net 4 and Resharper 5.1. I'm on Windows XP SP3
I was getting the exact same error, along with an empty VS icon in the taskbar.
The empty icon got away when I shifted VS to my main monitor (I have 2) and restarted. It seems that VS doesn't like to be in the second monitor.
As for your error, I cleaned up the Resharper cache (I'm storing it in the TEMP folder, not the solution folder) restarted, and didn't get the error again

有木有妳兜一样 2024-11-15 13:01:09

在“调试”菜单 - 转到“解决方案属性”中,选择“调试”选项卡,然后勾选启用 SQL SERVER 调试复选框

In Debug Menu - GoTo Solution Properties and select debug tab and tick the ENABLE SQL SERVER DEBUGGING checkbox

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