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:
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
Post a Comment