What's the minimum amount of software I need to install to get the 'tf.exe' program?
The tf.exe command line is included in the VSTS agent package in folder externals\vstsom. Show activity on this post. Show activity on this post. You can also try TFS CLI for Node.
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.
If you have created a TF workspace and mapped a local folder to the workspace, then in an command prompt navigate to that folder and run tf commands. (It might be good to add this path C:\Program Files\Microsoft Visual Studio 10\Common7\IDE\ to your PATH evironment variable).
Open the Administrator 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.
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.
This activity of creating useful scripts (for tailored requirements of source control) using TFS tf.exe is very flexible, useful, swift and hence enjoyable for administrators. Let’s get into action! Follow these steps:
Using TFS 2010 Source Control From Command Line tf.exe is FUN! Abstract: Team Foundation Server (TFS 2010) administrators have experienced that managing source control from the command line (tf.exe) is faster and more convenient.
You need to install Team Explorer, it's best to install the version of Team Explorer that matches the version of TFS you are using e.g. if you're using TFS 2010 then install Team Explorer 2010.
2012 version http://www.microsoft.com/en-gb/download/details.aspx?id=30656
2013 version http://www.microsoft.com/en-us/download/details.aspx?id=40776
2019 version https://visualstudio.microsoft.com/downloads/#visual-studio-team-explorer-2019
You also might be interested in the TFS power tools. They add some extra command line features (using tfpt.exe
) and also add some extra IDE features.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With