Search code examples
xamlxamarincorrupt

How to recove corrupted XAML (encryption)


Today I opened my Xamarin project, but my main XAML file looks like this!

Not all files look like this, the editor is ok.

I have no backup file for this one, is there any way to fix the file?

Corrupted XAML file


Solution

  • Bite the bullet, recreate the view.

    Next time use a version control service such that you always have a version of your code to fall back to. Github and other services provide free private repositories if you don't want your code to be public.

    Always back up...