Exception from the extension when options saved while the Fine Code Coverage tool window is not open.
Steps to recreate
Close Fine Code Coverage tool window
Restart Visual Studio 2022
Confirm the Fine Code Coverage window is not open.
Select Tools -> Options
Modify any Fine Code Coverage option - I've been toggling the Enabled option.
Select OK to save the options.
Select Tools -> Options
Modify any Fine Code Coverage option - I've been toggling the Enabled option.
Select OK to save the options.
A wait cursor is displayed and after WERFault.exe has completed, Visual Studio 2022 terminates.
Current behavior
Exception from the extension when options saved while the Fine Code Coverage tool window is not open.
Expected behavior
Visual Studio 2022 should not crash when saving options.
Side Notes
Debugging the extension, I see that the exception is of type System.NullReferenceException
Following the code back to where environmentFontDetails is initialized, it's in public OutputToolWindowControl(IEventAggregator eventAggregator)
So by opening the Fine Code Coverage tool window, I see environmentFontDetails being initialized and thereafter I can save option changes successfully.
Installed product versions
Description
Exception from the extension when options saved while the Fine Code Coverage tool window is not open.
Steps to recreate
Current behavior
Exception from the extension when options saved while the Fine Code Coverage tool window is not open.
Expected behavior
Visual Studio 2022 should not crash when saving options.
Side Notes
public OutputToolWindowControl(IEventAggregator eventAggregator)