MSBuild and .sln files

When MSBuild builds solution file MySolution.sln it actually silently converts it to the well-known MSBuild proj file.Sometime it is useful to see the converted version.To do this you need to set environment variable then when you run it will create corresponding MySolution.sln.metaproj