46

Steps in In Visual Studio 2010

  • Open Team Explorer
  • Go to Builds
  • Right-click on a build definition, and click Clone.

How can I copy/clone a build in Visual Studio 2012? The Clone operation seems to be gone?

Note: I am using TFS 2010

Bernard Vander Beken
  • 4,848
  • 5
  • 54
  • 76
  • Don't have the reputation to comment, but thought this might help someone... Use the VS2015 version (referenced in the accepted answer) to connect VS 2015 to TFS 2013 (12.0). It just worked for me. – Jonathan Grubb Mar 27 '17 at 18:55
  • Do you have the TFS power tools installed? If yes, that explains why it would work. If no, that's a pleasant surprise :) – Bernard Vander Beken Mar 28 '17 at 08:20

1 Answers1

68

Cloning build definition is a feature that comes with TFS Power Tools.

I haven't tried it but it seems to be part of the beta version for 2012 available here: http://visualstudiogallery.msdn.microsoft.com/b1ef7eb2-e084-4cb8-9bc7-06c3bad9148f

(updated url to published version. Thanks Bernard Vander Beken)


Visual Studio 2013 version:

http://visualstudiogallery.msdn.microsoft.com/f017b10c-02b4-4d6d-9845-58a06545627f (Credit to Bernard Vander Beken)


Visual Studio 2015 version:

https://visualstudiogallery.msdn.microsoft.com/898a828a-af00-42c6-bbb2-530dc7b8f2e1 (Credit to Bernard Vander Beken)

Rassi
  • 1,612
  • 14
  • 21
  • I need this exact functionality, and the link above now brings up a page that says this item hasn't been published. Was a non-beta version released or has the content been moved? I can't seem to find it... – G_P Oct 04 '12 at 17:55
  • 6
    Download URL for Microsoft Visual Studio Team Foundation Server 2012 Power Tools: http://visualstudiogallery.msdn.microsoft.com/b1ef7eb2-e084-4cb8-9bc7-06c3bad9148f – Bernard Vander Beken Oct 09 '12 at 07:41
  • 5
    Download URL for Microsoft Visual Studio Team Foundation Server 2013 Power Tools http://visualstudiogallery.msdn.microsoft.com/f017b10c-02b4-4d6d-9845-58a06545627f – Bernard Vander Beken Feb 11 '14 at 16:25
  • 18
    Bug: in 2013, the right-click option for cloning currently doesn't appear if your Builds window is detached from the Team Explorer window. – Mike Asdf Mar 05 '14 at 17:14
  • 1
    Does anyone know what TFS PowerTools version I should select for the combination of VS2013 and TFS2010? – AlfredBr Mar 21 '14 at 18:50
  • @MikeAsdf did you report the bug on the Power Tools page? – alimbada May 19 '14 at 15:26
  • 2
    @alimbada Looks like they're currently aware of it: http://visualstudiogallery.msdn.microsoft.com/f017b10c-02b4-4d6d-9845-58a06545627f "Note: Some of the enhancments (such as the clone build definition) only work when its pane is docked. If you have undocked it (and became its own tool window), first dock it into Team Explorer. You can safely undock the pane again when you have completed the command" – Mike Asdf May 20 '14 at 14:55
  • 1
    Download URL for Microsoft Visual Studio Team Foundation Server 2015 Power Tools https://visualstudiogallery.msdn.microsoft.com/898a828a-af00-42c6-bbb2-530dc7b8f2e1 – Bernard Vander Beken Sep 09 '15 at 07:48