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

[341 byte] By [remo.waller] at [2007-12-20]
# 1

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).

MichaelLuke at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Performance Tools (Profiler)...
# 2

Michael,

How do I determine the buildNumber?

RomanT at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Performance Tools (Profiler)...
# 3
You can find it in the Name column within Team Explorer's Team Build report view
MichaelLuke at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Performance Tools (Profiler)...
# 4

Michael,

Worked like a charm. thanks.

Question though - how do I delete the actual TeamBuildType.?!

RomanT at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Performance Tools (Profiler)...
# 5

Simply delete the folder in TeamBuildTypes in Version Control Explorer.

Note, you can also rename build types in this manner, as well.

MichaelLuke at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Performance Tools (Profiler)...
# 6

Michael - I'd love to - but it's grayed out/disabled - even for the tfssetup user.

?!

RomanT at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Performance Tools (Profiler)...
# 7
You have mapped that folder into your workspace and done a get latest version first, right?
MichaelLuke at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Performance Tools (Profiler)...
# 8

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?

dlawler at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Performance Tools (Profiler)...

Visual Studio Team System

Site Classified