Getting Your First Copy of The Source Code

Aug 23, 2007 at 11:21 AM

i tried to download the source code of two different projects:
- moss07searchmanager
- searchasmx

First I downloaded the cpc and followed the installation 'guide' on codeplex
After this I created the configuration files:
- tfc.exe.config
<add key='ForceBasicAuth' value='true'/>
<add key='TryDefaultCredentials' value='true'/>

- cpc.exe.config
<add key='CodePlexWebServiceUrl' value=''/>
<add key='AnonymousUsername' value='anonymous'/>

Than I started my first trial:

PROMPT>cpc co moss07searchmanager /u rastadiva /p *****************
A .


Verzeichnis von PROMPT

23.08.2007 11:36 <DIR> .
23.08.2007 11:36 <DIR> ..
0 Datei(en) 0 Bytes
2 Verzeichnis(se), 20.491.030.528 Bytes frei

No files in the folder PROMPT where I expected all the project files.
The only thing I found was the folder _tfs with the file entries.xml:
<?xml version="1.0"?>
<entries xmlns:xsi="" xmlns:xsd="">
<entry name="" kind="folder" url="" path="$/moss07searchmanager/" id="94143" changeset="6163" shadow="75b3540cf093476582de199cf7d94afe" />

The second trial with searchasmx but anonymous checkout. The same result.

What is the problem? I've done something wrong or may be a problem of our internet proxy?

Thanks for help.

Aug 23, 2007 at 5:34 PM
For starters, you shouldn't need those .config files. The settings you've set for cpc.exe are already the defaults, and the settings for tfc are probably not right either (since anonymous access is only supported on CodePlex, and most TFS servers don't use basic auth).

Second, I went to look at moss07searchmanager, and it has no source code:

Ditto searchasmx:

So what you're seeing is exactly what I'd expect. If you want something with source code in it, try getting the CPC client source:

cpc co CodePlexClient
Aug 23, 2007 at 6:07 PM
By the way, though your DIR command didn't show anything, there is actually stuff there. We use a hidden folder named _tfs to store information about the TFS server your source code is on. You can type "cpc info" in a directory and it will show you that information, such as:

C:\Dev\CodePlexContainer> cpc info
Path: .
Item Type: Folder
Status: Unmodified
TFS Url:
TFS Project Path: $/ObjectBuilder/Samples/CodePlexContainer/
Item ID: 311001
Revision: 23110