How to configure multiple project in Team Build 2015 (using the new task based workflow, not the old XAML builds).
Right now I see only one solution can be configured for Visual Studio build task.
Right-click your project or project suite in the Project Explorer and then click Source Control > Add to Team Foundation Server. Click Add to Team Foundation Server on the Source Control toolbar (if the toolbar is hidden, right-click the toolbar area and select Source Control).
You can easily add more than one build task that explicitly calls a single solution. That will also allow you to control the order that they get built.
Just select "Visual Studio Build" from the sea list. This works in Visual Studio Online and TFS 2015.
As others have mentioned there are multiple ways to accomplish this:
Use the wildcard solution to find all solutions **/*.sln
will build all solutions in the workspace.
Use ;
to combine multiple search patterns: **/abc.sln;**/xyz.sln
Create a custom msbuild file (e.g. buildprojects.proj
) which in turns invokes the msbuild to build each solution you wan to build. Configure the task in the workflow to call teh .proj
file instead of the specific solutions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With