5

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?

Răzvan Flavius Panda
  • 21,730
  • 17
  • 111
  • 169
  • 1
    Most likely the `Microsoft.VisualStudio.DebuggerVisualizers.dll` assembly of VS2013 has a different assembly version than the one of VS2015, Thus, while the types have identical "names" they have different versions - something might not be visible in error messages (dotPeek should help find that out though). If that is the case, the visualizer in question would need to be rebuild for VS2015 (using its version of `Microsoft.VisualStudio.DebuggerVisualizers.dll`). – Christian.K Mar 09 '16 at 17:13
  • That might be it, I will give it a check later and tell you how it goes. – Răzvan Flavius Panda Mar 09 '16 at 17:28

2 Answers2

2

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

Drew Noakes
  • 300,895
  • 165
  • 679
  • 742
  • Visual Studio 2017 has changed to version 15. This helped me and might help someone else looking for the solution if their older visualizers no longer work. – Kohins May 04 '17 at 17:27
  • This solved my issue, thanks. I had pulled in the version for VS 2017 via the nuget package which said it would work with VS2012+ – Jonathan Stanton Nov 30 '17 at 09:50
0

Have you tried the %VSINSTALLDIR%\Common7\Packages\Debugger\Visualizers directory? I mean ...Program Files...\Microsoft Visual Studio 12.0\Common7\Packages\Debugger\Visualizers. Probably you can find the dll there.

or

Install the NuGet Package

$Install-Package VSSDK.DebuggerVisualizers.10

Let us know.

CSA
  • 393
  • 4
  • 10