""How do I build multiple projects with a single call to MSBuild?""


Two ways to do this:

""Firstly, create an ItemGroup listing the child projects, and pass it to the MSBuild task""

		        <ItemGroup>
		                <ChildProject>Projects\ClassLibrary\ClassLibrary.csproj&lt/ChildProject>
		                <ChildProject>Projects\TreeFeller\TreeFeller.csproj&lt/ChildProject>
		                ...
		        </ItemGroup>
	

		        <MSBuild Projects="@(ChildProject)" />
	

The second way is to iterate through the subdirectories

		        <ItemGroup>
		                <AllProjects>Projects\**\*.csproj</AllProjects>
		        </ItemGroup>
	

		        <MSBuild Projects="@(AllProjects)" />
	
Microsoft Communities