I have a solution that has a wcf service that connects to SQl server. When I am offline I have another service that I use for development and testing that stores to in memory storage. I would like to exclude the test service from my Team build as I do not wish to deploy this to the customer etc. How do I do this?
In VS2010, select Build | Configuration Manager .... In the Configuration Manager dialog, select in the active configuration list. Enter a name (eg. TeamBuild) and select to copy from Release. Click OK.
Now make sure that only projects are checked that you want to have build a scheduled team build (exclude your test service). Click OK, save you solution and check it in.
In your Team build definition, under Build process, select the solution you just have saved and under the Configuration tab, select the TeamBuild configuration. Now, only the projects that you have selected are build.
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