You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to Visual Studio 2022 17.11 the debug visualizer no longer works, giving the following error when opening the visualizer:
An unhandled exception of type 'System.NotSupportedException' was thrown by the custom visualizer component in the process being debugged. Additional information:
BinaryFormatter serialization and deserialization are disabled within this application. See https://aka.ms/binaryformatter for more information.
Due to the security issues described in the section below, starting with Visual Studio 2022 version 17.11, visualizers won't be able to specify the Legacy formatter policy in the base class' constructor. From now on, visualizers can only use JSON serialization to communicate between the debugger and debuggee-side components.
Environment
Windows 10
Visual Studio 2022 17.11.5
What did you do when you faced the problem?
NA
Example code:
NA
Output:
NA
What did you intend to be?
The text was updated successfully, but these errors were encountered:
Summary of your issue
After upgrading to Visual Studio 2022 17.11 the debug visualizer no longer works, giving the following error when opening the visualizer:
From the Debug Visualizer docs, it appears that this is a recent change.
Environment
Windows 10
Visual Studio 2022 17.11.5
What did you do when you faced the problem?
NA
Example code:
Output:
What did you intend to be?
The text was updated successfully, but these errors were encountered: