Suresh Balaji
Suresh Balaji

Reputation: 109

TFS CommitCheckin event is not firing

I am using Visual Studio TFS 2010 and want to develop an notification application. I tried CommitCheckin event handler exposed by VersionControlServer class. But the event is not firing. I use it to notify user whenever a checkin is done.

Upvotes: 0

Views: 461

Answers (1)

MichalMa
MichalMa

Reputation: 1230

I believe most of the VersionControlServer class events are only fired when changes happen in process. What you are trying to do is to find out when change happened in another process. This functionality is not documented well, but should be doable: PendingChangesChanged event is fired cross process.

I believe you need to initialize NotificationManager in your process in order to receive notifications.

Upvotes: 1

Related Questions