How do you create a Debugger Visualizer in VS 2019 for .netcore 3.1

191 Views Asked by At

I have a debugger visualizer working for my NETFX 4.7.2 code. I am porting it to .netcore 3.1. I try to run the visualizer and I get the following error: Unable to load the custom visualizer

Additional information: Could not load file or assembly 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. An attempt was made to load a program with an incorrect format.

I have tried porting the visualizer code to .netcore and I hit several problems using System.Windows.Form, using Microsoft.VisualStudio.DebuggerVisualizers no longer work and I don't know what reference to include.

I have looked around but I can't seem to find anything to guide me as to what to do to port my visualizer or get the existing one to work. I'm hoping someone here can give me a thread to pull on.

Thanks,

0

There are 0 best solutions below