开发者

VS2010: Exclude a project from build

开发者 https://www.devze.com 2023-04-09 03:08 出处:网络
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

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 ser开发者_C百科vice 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.

VS2010: Exclude a project from build

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消