Suddenly my Android Xamarin.Forms project stopped compiling because of a couple of corrupt XML files. The error message is: “Error parsing XML: not well-formed (invalid token)”
Turns out that at that the source resource files in the
folder had been corrupted, probably by my antivirus program, there was a path to Avira among the unreadable (I have no clue what kind of encoding or content was in the file – it was not XML)
This file is on compile time copied into the \obj\Debug\resourcecache\[some-identifier]\res\ folder where it is of course unparsable as XML.
Hope this helps someone, took me a while to figure out from where the xml file was copied (of course file search should have come to my mind an hour earlier than it did 🙂 )