Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatically attaching to support behavior not completely successful

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?

like image 223
Gustavo Mori Avatar asked Oct 12 '22 00:10

Gustavo Mori


2 Answers

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.

like image 107
Hans Passant Avatar answered Jan 01 '23 10:01

Hans Passant


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.

like image 38
Müslüm ÖZTÜRK Avatar answered Jan 01 '23 11:01

Müslüm ÖZTÜRK