Home > Back-end >  What's wrong with Xaml files in wpf-App project?
What's wrong with Xaml files in wpf-App project?

Time:05-25

I have a question. So every day I create my project. Today I turn on my computer, run the project and I see the following error. I have no idea what happened, I didn't mess with the visual studio files. What could be the cause of this error?

translation:

There was an error 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'.

Make sure the application for the file type (.xaml) is installed.

enter image description here

CodePudding user response:

I found a solution to this problem. So I used the bugfix feature in the Visual Studio installer. After that everything works fine.

  • Related