Debugging TFS Job Agent Extension

Creating TFS Job Agent was not difficult at all but debugging it was a pain in the nick! 🙂

here I explain how to find what the error and how to fix that

Extension not found for TFSJobAgent (ExtensionNotFound)

So first how to know if my job agent succeeded or failed and if it’s failed, why this happen?

How to see this

Open the following link:

http://TFSServer:8080/tfs/_oi/

Click on the job history, if the job failed you will see it here and you can click on the small arrow to see History or DefinitionTFS Job Definition and History

History
TFS Job History Details

Definition
TFS Job Definition Details

In case there is nothing in the history you should see your job on the Job Motoring page as the following:
TFS Job Monitoring

Remember you will need to restart the TFS Job Agent every time you deploy a new version of the dll so the service can load the assembly and this the reason for the fail first time.

Restart TFS Job Agent

Links:

How to see activity and job history in TFS 2012

TFS2012: New tools for TFS Administrators

 Identity Synchronization in Team Foundation Server 2010


Share This: