Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where do I find Microsoft.VisualStudio.DebuggerVisualizers?

A project won't compile because of a missing assembly. The file that causes the error has a

using Microsoft.VisualStudio.DebuggerVisualizers;

The VisualStudio part is marked in red. What do I have to install to fix it? To me it sounds like something that would have come with Visual Studio, but that is what I am using, so it is installed...

Clarification: I know what assembly it exists in, and the reference is added earlier to the project references. But how do I get it? What SDK do I have to install? Or have I forgotten to check something off when I installed Visual Studio?

like image 651
Svish Avatar asked Aug 16 '09 18:08

Svish


4 Answers

You should be able to find it in the "Add Reference" dialog in the .Net tab.

If not, the Microsoft.VisualStudio.DebuggerVisualizers.dll lives in the Common7\IDE\PublicAssemblies subdirectory of Visual Studio's installation directory. You could add it manually from there.

like image 100
adrianbanks Avatar answered Oct 20 '22 21:10

adrianbanks


For Visual Studio 2010 the Microsoft.VisualStudio.DebuggerVisualizers assembly exists under C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ReferenceAssemblies\v2.0 (or relevant Program Files root).

For a debugger visualizer to target Visual Studio 2010 it must reference the 10.0 version of this assembly or it will fail with an invalid cast exception.

like image 32
John B Avatar answered Oct 20 '22 21:10

John B


You should be able to find the assembly under the ".NET" list of assemblies in the "Add Reference" dialog.

like image 2
Nader Shirazie Avatar answered Oct 20 '22 22:10

Nader Shirazie


To anyone still looking for this - it's been moved to NuGet

like image 1
HotDogWater Avatar answered Oct 20 '22 21:10

HotDogWater