MSBuild with Solutions
This trick came in handy to answer two related questions I had about building solutions - how do you build just a specific web project of a solution, and how do you build a particular target of a particular project in the solution. You can determine this by inspecting the target names generated in the solution project file. It's turns out that the current MSDN documentation is wrong here. The MSBuild command line reference documentation says to specify "MSBuild solution.sln /t:<Project Name>.<Target Name>". But in reality the correct syntax is "MSBuild solution.sln /t:<Project Name>:<Target Name>" -
Thanks to Lukasz Gwozdz of the MSBuild team for this info.