what's the best way, using the TFS API, to add a label to a file?
- by jcollum
I'd like to add a label to a set of files using the TFS API. My code looks like this:
VersionControlLabel label = new VersionControlLabel(this.vcServer, this.label,
this.vcServer.AuthenticatedUser, this.labelScopeDirectory, this.labelComment);
List<LabelItemSpec> labelSpecs = new List<LabelItemSpec>();
…