I've rolled up to VS2017, and my visualizer broke with the following message,
Name:  Capture.JPG
Views: 186
Size:  29.2 KB.
It was working, and still does work in VS2013.

I've tried rebuilding the visualizer in VS2017, but to no avail. This is the code, which as you can see inherits from DialogDebuggerVisualizer.

vb.net Code:
  1. Imports Microsoft.VisualStudio.DebuggerVisualizers ' < -- import the namespace
  2. Imports System.Windows.Forms
  3. Imports System.Drawing
  4.  
  5. <Assembly: System.Diagnostics.DebuggerVisualizer(GetType(ImageVisualizer.DebuggerSide), GetType(VisualizerObjectSource), Target:=GetType(System.Drawing.Image), Description:="Image Visualizer")>
  6. Namespace ImageVisualizer
  7.     Public Class DebuggerSide
  8.         Inherits DialogDebuggerVisualizer ' < - inherit the Visualizer
  9.         Protected Overrides Sub Show(windowService As IDialogVisualizerService, objectProvider As IVisualizerObjectProvider)
  10.             Dim image As Image = DirectCast(objectProvider.GetObject(), Image)
  11.             Dim form As New Form With {.Text = image.Size.ToString, .AutoSize = True}
  12.             Dim pictureBox As New PictureBox With {.BackgroundImage = image, .Parent = form, .BackgroundImageLayout = ImageLayout.Zoom, .Dock = DockStyle.Fill}
  13.  
  14.             Try
  15.                 windowService.ShowDialog(form)
  16.             Catch ex As Exception
  17.                 MessageBox.Show(String.Format("{0}{1}{1}{2}", ex.Message, Environment.NewLine, ex.ToString))
  18.             End Try
  19.  
  20.         End Sub
  21.     End Class
  22. End Namespace
Not sure whats going on here.Has anyone seen this with their visualizers, or is there something special I need to do for VS2017