How to fix "Root element is missing." when doing a Visual Studio (VS) Build?

Gerhard Weiss picture Gerhard Weiss · Sep 22, 2010 · Viewed 271.5k times · Source

How to fix "Root element is missing." when doing a Visual Studio (VS) Build?

Any idea what file I should look at in my solution?

Actually, I am getting this error message inside of "Visual Build Pro" when using using the "Make VS 2008" command. This command works just fine when building other solutions (like about 20) and I am not really sure why mine is getting the error.

Any help would be very much appreciated. :)

I am using VS 2008 and Visual Build Pro 6.7.

Answer

Elliot picture Elliot · May 18, 2015

In my case it was the xxxxxxxxxxxx.vcxproj.user file that was causing the problem; it was blank after a crash. I renamed it and the problem went away.