Automatically attaching to support behavior not completely successful

ぐ巨炮叔叔 提交于 2019-12-07 05:59:44

问题


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:

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?


回答1:


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.




回答2:


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.




回答3:


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.




回答4:


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




回答5:


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



来源:https://stackoverflow.com/questions/6065548/automatically-attaching-to-support-behavior-not-completely-successful

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!