Last active
August 29, 2015 14:26
-
-
Save Wesley-Lomax/d6fc4a15cbc2ec1d36e8 to your computer and use it in GitHub Desktop.
Configuration file to build multiple solutions from command line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<ItemGroup> | |
<Solutions Include="..\Project1\Project1.sln" /> | |
<Solutions Include="..\Project2\Pjoject2.sln" /> | |
<Solutions Include="..\Project3\Project3.sln" /> | |
</ItemGroup> | |
<Target Name="Clean"> | |
<Message Text="Running CLEAN" /> | |
<MSBuild Projects="@(Solutions)" BuildInParallel="true" Targets="Clean" Properties="Configuration=Debug;" /> | |
</Target> | |
<Target Name="Build" DependsOnTargets="Clean"> | |
<Message Text="Running BUILD" /> | |
<MSBuild Projects="@(Solutions)" BuildInParallel="true" Targets="Build" Properties="Configuration=Debug;" /> | |
</Target> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment