MS Build Script accepting a list or collection of project names to build and deploy
- by Darryn Parker
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?