To delete a build definition, right click on the build definition in Team Explorer and select delete. Note that you must first delete all existing builds for that build definition before Team Foundation Server will allow you to delete the definition itself.
For more information see: