zspitz / ANTLR4ParseTreeVisualizer

Visual Studio debugging visualizer, and .NET visualization controls, for ANTLR4 parse trees
MIT License
69 stars 11 forks source link

Update for VS2022? #68

Open masonwheeler opened 1 year ago

masonwheeler commented 1 year ago

When attempting to use this on a .NET 7 project in VS 2022, installing it makes the "View" box show up, but the visualizer fails to load. The recommended Debug option to uncheck as a solution to this does not appear to exist in VS 2022.

Building it myself under VS 2022 does not fix the problem.

Can we get a VS 2022-compatible build by people who actually understand how this is all supposed to work?

zspitz commented 1 year ago

It may be just as simple as updating the Microsoft.VisualStudio.DebuggerVisualizers.dll reference to the one used by VS 2022.

It may not be so simple, because Microsoft deprecated the BinaryFormatter used to transfer data between the debugger component injected into VS and the debuggee component injected into the target process.