deleting a team build
hello,
Is there also a way to delete a team build (not a build type!)? I always read about "deleting a team build type" but never about a team build. Is there also a way to get rid of old builds? somebody mentioned that this feature is not in beta2 but should be in the realeased version. is it true?
-- remo
Yes, there is.
You need to use the TfsBuild.exe delete command:
Microsoft (R) TfsBuild Version 8.0.0.0
for Microsoft (R) Visual Studio 2005 Team System
Copyright (C) Microsoft Corporation 2004. All rights reserved.
This command deletes a completed build. All data related to the build is deleted
from the database, the drop location cleared and the UI does not list the build
anymore.
TfsBuild delete Teamfoundationserver TeamProject BuildNumbers [/noprompt]
Teamfoundationserver The repository url where the solutions being built are checked in.
TeamProject The Team Project name for which this build exists.
BuildNumbers The builds which need to be deleted. Multiple build numbers can be provided, delimited by space.
[/noprompt] Do not prompt while deleting the build(s).
Simply delete the folder in TeamBuildTypes in Version Control Explorer.
Note, you can also rename build types in this manner, as well.
What does this mean? I have the root of my solution mapped to a subdirectory of
\My Documents\Visual Studio 2005\Projects\
Where would that folder map to? Someplace arbitrary? Why do I need to get lastest before deleting?
Ok, so I mapped it to a folder on my desktop, and did a get latest. The i deleted it. But it still shows up with a red X through it in Source Code Explorer, and it shows up perfectly normal in the Team Explorer? What did i do wrong?