I would like to know if it’s possible, eventually by developing somethng using the SDK, to provide a check-in comment automatically when checking-in in TFS.
UPDATE: I tried using the SDK API like so:
TeamFoundationServer tfs = TeamFoundationServerFactory.GetServer(tfsName);
tfs.EnsureAuthenticated();
VersionControlServer versionControl = (VersionControlServer)tfs.GetService(typeof(VersionControlServer));
versionControl.CommitCheckin += VersionControlOnCommitCheckin;
But the event does not seem to be fired. Is there anything blatantly wrong I’m doing?
The problem is that the TFS API events used as shown in my question are raised only when the operations are performed from the same API instance, thus same machine, same process, same AppDomain.