• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 311
  • Last Modified:

MSBuild: chain solution building

Is it possible to chain the building of solutions in MSBuild, instead of having to manually select build for each one? If yes, how?

Thanks
0
gromul
Asked:
gromul
1 Solution
 
DarkoLordCommented:
Of course. You can add additional solutions to the MSBuild solution file:

<ItemGroup>
  <Solution Include="Test1.sln"/>
  <Solution Include="Test2.sln"/>
  ...
</ItemGroup>

<Target Name="Rebuild">
  <MSBuild Projects="@(Solution)" Targets="Rebuild"/>
</Target>
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Tackle projects and never again get stuck behind a technical roadblock.
Join Now