Click to See Complete Forum and Search --> : C# Sourcesafe Automation


neilault
October 3rd, 2006, 03:52 AM
I'm using the attached class to try and automate sourcesafe from within a C# application that I am developing.

I call the .OpenDB method and this work's fine. Then I call the following:

.GetItem("$/Pluto/", ref sLocalPath, (int)SourceSafeTypeLib.VSSFlags.VSSFLAG_RECURSYES);

Which in my understanding should get the project called "Pluto" from Sourcesafe recursing through all the directories within that project and copy them to the supplied LocalPath?

What is happening is that any files that are directly in the project "Pluto" are being copied but the sub directories and items within them are not.

Any ideas?

Thanks in advance...




Neil