c# - Visual Studio - Corrupted .xaml file -


recently i've put computer sleep, , when started up, computer turned off.

before open file, asks me encoding. i've tried multiple, , auto-detect. no luck.

later when turned on, mainwindow.xaml looked this:

invalid markup

the mainwindow.xaml.cs surprisingly fine, , registers variables written in xaml file. other xaml files in project fine.

when hover on lines, error shows: the value "□" not valid character

does know if mainwindow.xaml salvageable or lost cause?

thank lot answers.

clear shadow cache , restart visual studio. should fine.

shadow cache located at

c:\users\username\appdata\local\microsoft\visualstudio\12.0\designer\shadowcache 

delete shadow cache corresponding visual studio version , restart it. should working fine.


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -