'Why are xaml files not working properly in my project?

So, the day I turn on my computer every day, start my project, start it today, and then I see the following error:

An error occurred in "Various files" while trying to open "MainWindow.xaml" No editor is available for 'C: / Users / user / Documents / GitHub \ tetris-game \ tetris-game \ tetris-game \ MainWindow.xaml'.

I don't know what's going on. I haven't changed anything in the files or uninstalled or installed anything. Maybe I should reinstall VisualStudio?



Sources

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

Source: Stack Overflow

Solution Source