In prior versions of MSBuild, you could set an environment variable named MSBUILDEMITSOLUTION to 1 to get an XML version of a solution (.sln) file that could be parsed. Acco
Set MSBuildEmitSolution=1
and then build from the command line. You should then see a MySolution.sln.metaproj file near MySolution.sln.
Notes:
msbuild /p:MSBuildEmitSolution=1
, but you can't.