title: In MSBUILD, how can you specify a condition that check whether command line or VS launched it?
body: <p>I have a csproj that I would like to have trigger the opening of a particular file in Visual Studio, only if the target was executed from within Visual Studio, but not from the MSBUILD command line.  How do I do this?</p>