Root Element is Missing

When we try to open one of our .xaml file in the project, its showing “Root Element is Missing” error message.

The Xaml file is of size 0 kb. The file contents has been deleted .
To verify the same right click on the Xaml file and open it using notepad . The difference can be easily found out if you open the file having the contents .
Even a empty xaml file created would have minimum size as it define the xaml schema .

Screenshot of an empty XAML File :

1 Like

We can give this link a try.