Visual Studio 2015 debug visualizer changes

Viewed 1978

I am trying to use EnumerableDebugVisualizer and List Visualizer unfortunately none of them has a build for Visual Studio 2015.

I tried using the DLLs provided which are for VS 2013 and VS 2010 and both of them error with the following message type when trying to visualize:

Unable to load the custom visualizer.

Additional information: The UI-side visualizer type 'ListVisualizer.DebuggerSide' must derive from 'Microsoft.VisualStudio.DebuggerVisualizers.DialogDebuggerVisualizer'.

I decompiled the DLLs or executables with dotPeek and both of the visualizers do derive from Microsoft.VisualStudio.DebuggerVisualizers.DialogDebuggerVisualizer so I don't know what exactly is the cause of the error.

Any ideas on how to get them to work with Visual Studio 2015?

2 Answers

Visual Studio 2015 is version 14, so make sure you're referencing the Microsoft.VisualStudio.DebuggerVisualizers.dll from:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\ReferenceAssemblies\v2.0

enter image description here

Related