Home > Mobile >  Why are xaml files not working properly in my project?
Why are xaml files not working properly in my project?

Time:05-26

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

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?

CodePudding user response:

I found a solution to this problem.I opened VS installer and then went to VS 2022, clicked on more and opened the "Repair" function. After this process I restarted my computer, started my project and everything works fine.

  • Related