"Has invalid child element" warnings in Microsoft.Common.Targets while building

Solution 1:

If I close all the editor windows, and then build it, all the warnings have disappered! Even a close & restart of visual studio did not fix this, but just closing all files from the editor window, including Microsoft.Common.Targets, fixed the problem. Arghhh Microsoft!!

I found this out after looking at this link :

http://social.msdn.microsoft.com/Forums/en/Vsexpressvb/thread/31f52b76-b0de-406d-9c25-2f329dd7cf1c

Also works on 2013 and 2015 editions