Enable it in the dev variant as well for consistency with the makefile-based dev variant.
The xmlns attribute is required for older msbuild version (e.g. for VS2015). Add it where needed, and reorder the attributes so all files look the same.
Following the unix port. Support for building variants with msvc was done by @stinos.