Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

tfpt.exe on Visual Studio 2017

Even after installing Productivity Power Tools extension for Visual Studio 2017 I still cannot run tfpt.exe to execute the command suggested on this post:

C:\Development> tfpt unshelve "ShevesetName;UserName" /migrate /source:"$/Project/Source" /target:"$/Project/Target" 

Where can I find this program?

like image 974
Igor Kondrasovas Avatar asked May 02 '17 21:05

Igor Kondrasovas


People also ask

Where is TF exe located?

The location of the tf.exe file, for example, C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE . The name of the TFS workspace. A workspace maps local and version-controlled folders on the TFS server.

How do I open a TFS file in command prompt?

To do so, login to TFS as the administrator user. From the 'Start' button, select 'All programs' > MS VS 2010 > Visual Studio tools > Visual Studio > Command prompt. You can test a couple of tf.exe commands on this command prompt. Get a list of tf commands by just typing tf /? on the command prompt.


2 Answers

The Productivity Power Tools are not the same thing as the TFS Power Tools, so that's why installing it didn't help.

There is no set of TFS 2017 Power Tools. From the TFS 2017 release notes:

Issue: No Power Tools have been released for TFS 2017.

Workaround: We are excited to let you know that most of the previous Power Tools have been integrated into TFS 2017. The Process Template Editor is one that has not been integrated, but we are going to publish a Process Template Editor tool for TFS 2017 to the Visual Studio Gallery shortly after TFS 2017 is available. We will provide the link here as soon as it’s published

like image 181
Daniel Mann Avatar answered Sep 21 '22 16:09

Daniel Mann


Just as Daniel said, they are two entirely different things. A supplement :TFS 2017 Process Template Editor is available

In your case, you are trying to use the unshelve command to unshelve a shelveset to another branch in TFS. As a workaround you could use tf Unshelve and Rename command to achieve this in two steps.

Or just install a earlier version VS and Power Tools such as VS2015 and Microsoft Visual Studio Team Foundation Server 2015 Power Tools. After all you just need to match the version of the TFS Power Tools with your Visual Studio client.

like image 35
PatrickLu-MSFT Avatar answered Sep 24 '22 16:09

PatrickLu-MSFT