'Visual Studio 2022 restarts when try to open HTML file

I'm using Visual Studio 2022
When I try to open a .html file,
it shows following pop-up for some time & then the application restarts, but it didn't open the file.
popup



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source