How to fix “Root element is missing.” when doing a Visual Studio (VS) Build?
Make sure any XML file (or any file that would be interpreted as an XML file by visual studio) has a correct XML structure – that is, one root element (with any name, I have use rootElement in my example):