Configuring Projects Issue with TFS and CCNET

Apr 4, 2008 at 2:55 PM
Can someone show me an example of how to setup my ccnet.config file under the following scenario?

I'm getting so confused with so many "workingDirectory" nodes.

- I use TFS 2005, with VS 2008.
- I have a .sln file which contains various projects that are mapped (using an existing Workspace) to various places (for example: C:\inetpub\wwwroot\MyWebProject, and C:\Projects\MyOtherProject)
- TFS contains these projects at a root project level (ie , $/MyProject contains $/MyProject/MyWebProject and $/MyProject//MyOtherProject)

I'm failing to understand how CCNET gets the source code because it seems to just get the source code in the default WorkingDirectory and doesn't pay attention to any of my mappings.

Here's how it's set up....

<project name="01 MyProject continuous">
<intervalTrigger />
<sourcecontrol type="vsts" autoGetSource="true">
<buildArgs>/noconsolelogger /p:Configuration=Release /v:diag</buildArgs>
<logger>c:\Program Files\CruiseControl.NET\server\Rodemeyer.MsBuildToCCNet.dll</logger>