Delete Custom Fields in TFS 2010

I'm using TFS2010 with TFS Productivity Tools installed.

If you delete a Custom field via Template Editor, the field still shows up in Global Field Explorer.

How to actually 'hard delete' a custom field?


Solution 1:

Once you have removed the field from all the Work Item Type Definitions, you need to use the witadmin tool with the deletefield command from the Developer Command Prompt.

The command line syntax is:

witadmin deletefield /collection:CollectionURL /n:RefName [/noprompt]