I am trying for some hours to install a custom visualizer in VS2022. Basically it is a simple string visualizer that opens a wpf form.
I followed this: https://learn.microsoft.com/en-us/visualstudio/debugger/how-to-install-a-visualizer?view=vs-2022
But the instructions do not seem to work.
When the visualizer and the test console app are in the same solution, the visualizer works, shows up. Everything is alright, but that is not of too much help
What I have tried until now, but without success:
- Copy all visualizer dlls in C:\Users\XXXX\Documents\Visual Studio 2022\Visualizers
- Copy all visualizer dlls in C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\Packages\Debugger\Visualizers
- Checked on multiple projects, some targeting .NET Framework 4.7.2, some .NET 6
- Checked on one of my colleagues pc, also with VS2022
- Copied all dlls to a folder here(where I found DataSetVisualizer and IEnumerableVisualizer): C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Platform\Debugger\
- Run devenv /ResetSettings from an admin console
- Run devenv /resetskippkgs from an admin console
- Run Visual Studio as administrator
- Checked in Debug => Windows => Modules to see if the custom dll is loaded
Do you guys have any idea what should I try? Or what could be the problem? Did any of you succeeded in running a custom visualizer in VS2022
Thank you