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

set msbuildemitsolution=1

then when you run

MSBuild MySolution.sln

it will create corresponding MySolution.sln.metaproj


About mnaoumov

Senior .NET Developer in Readify
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s