MS Build Script accepting a list or collection of project names to build and deploy

Posted by Darryn Parker on Stack Overflow See other posts from Stack Overflow or by Darryn Parker
Published on 2010-03-24T12:00:18Z Indexed on 2010/03/24 12:03 UTC
Read the original article Hit count: 725

Filed under:
|
|
|

I want to create a MS Build script (executed by way of TFS Build Server) that will accept a list of project names that need to be built, unit tested and deployed.

The reason is that I want one script to serve many 'like' structured solutions. All the solutions are SOA in nature and share the same framework, project structure and deployment requirements.

I've done this in Nant and acheived great success out of having one build file serving 4 solutions - it just accepted a list of web project names to compile and deploy to our test/uat environments.

What is the syntax to cycle through a collection of project names suppled as params via MS Build?

© Stack Overflow or respective owner

Related posts about ms

Related posts about build