I'm trying to identify some milestones (which date we introduced important features on the website) by viewing the check-in history in Visual Studio. However it annoys me that I can't search the check-in comments, or filter check-ins by a specific user.
Is there a plugin or sth where I can have more search option to filter the check-in history?
Open Source Control Explorer, then on the menu bar, choose File, Source Control, Find, Find Changesets.
The Find Changesets dialog box appears with the some of the options you require such as by user.
Visual Studio docs: Find and view changesets
Related
How do I download the content of a project in Visual Studio TFS? I clicked around and I did not find an easy or intuitive way to do it. It is an old project that I thought had been lost until I reinstalled the latest version of Visual Studio.
You can get the TFS project from Visual Studio. First, you have to connect the project via Team Explorer in Visual Studio then add a server and click 'select team project' and you're done. It is downloaded to your PC.
You can find a documentation here.
EDIT:
Also, if you want to download your code as a zip:
You can click on any ellipsis to find the menu which contains Download as Zip option.
If you merely want an archive of the contents of a folder, you can right-click on the folder in the tree view on the left hand side of the page (in this case, on $/gelsana) and select the option "Download as Zip".
This is suitable for archival purposes. You cannot check-in changes made using this option.
Specifically, I would like to add the option to run the (TFPT command: searchcs) - which opens the Commit History search GUI.
It would be beneficial to be able to add it in the Source Control Explorer or in the History window or even in a right-click contextMenu.
You will need to implement a Visual Studio Extension to wrap this command line, see this thread:
VS 2012 TFS Source Control Explorer - Add Item to Right Click Menu
When working with Classic ASP, Sublime is AWESOME, but what has been stopping me so far is the fact that at work we use Visual Studio Team Services (previously Team Foundation Service) to Check-out / Check-in files we edit and work on and that goes rather well with Visual Studio 2012 that we use. But VS is so slow compared to Sublime especially when all I care about is editing text.
Today I found out that Sublime Text (I use Version 3) has a plugin for TFS! So I installed it (also installed the TFS Power Tools 2012). But now I'm confused as I can not see any visual clues to my files like I do with Visual Studio 2012, so I don't know what files are up to date, and what files need checking in ... etc.
After reading the official page of the Sublime TFS plugin. I understand that I need to set tf_path somewhere! The page though doesn't say where and in what format :( I am lost.
Where do I set the tf_path and in what format?
Any help would be great, Thank You.
Navigate to Preferences -> Package Settings -> Sublime TFS and open both Settings - Default and Settings - User (which will be an empty file). Copy the entire contents of the default settings file to the user file, then change any paths to reflect your personal setup. Save the user file (you are not allowed to modify the default file, just close it), restart Sublime for good luck, and you should be all set.
If you want your Sublime Text changes to be seen in Visual Studio Team Explorer, then you can change your Workspace to a local one.
For more information: https://www.visualstudio.com/en-us/docs/tfvc/decide-between-using-local-server-workspace
Like this, you can use Sublime Text for editing and have as much ST windows as you want. And you can do the check-in of files using the Team Explorer. This is how I work. One Visual Studio with one or more Sublime Text windows. Very light-weight, efficient and productive.
In Visual Studio 2010, I was able to view the check-in history of a particular user from
Team Explorer -> Team Project -> Team Members -> Right-click on a user name -> Show Check-in History.
I just can't find such option in Visual Studio 2012/2013 after the drastic Team Explorer UI re-design.
You can achive this functionality trough Source Control Explorer. Right mouse button click on folder in Source Control Explorer, then select Find / Find Changeset. In this window on image below you can select user and see only changesets by this pariticular user.
You should install TFS Power tools 2012 (download here).
However, the Team Members Power Tool was changed to take advantage of
new TFS 2012 features. As such it is incompatible with TFS 2010 and
earlier and does not run off the same team member definition data as
the TFS 2010 Team Members Power Tool, making using the VS 2010 IDE and
VS 2012 IDE together with the Team Members Power Tool a bit of a pain
(double administration).
You can achieve the same goal via tf.exe
tf history * /user:username -R
* means all files and -R means recursive.
If you want to it display only command line (better for exporting), just type
tf history * /user:username -R /noprompt
In visual studio Professional 2015, Team Explorer->Team Foundation Server (TFS),double click in the TFS server link then provide user Name and Password, click OK -> click Code on top -> click Changesets-> provide author Name.
I'm looking around mysite.tfspreview.com and I can view individual files, but I couldnt find a download all or get solution option.
So if a colleague doesnt have Visual Studio 2010 available and they wish to download a solution from TFS Azure preview what are the available options?
You should be able to use the command line client in the Microsoft Team Explorer Everywhere 11 Beta. It's not a big download (11MB), but I don't think there is a way to download a source tree directly from tfspreview without a client unless a zip has been added. Other source control services work this way (github, jira etc)
You don't need visual studio, but you need Team Explore which is add-on for Visual Studio or can be stand alone, it exists on the TFS media (DVD) or ISO, once you install Team Explore, you can access TFS Preview using GUI or Command line, you can also install TFS Power Tool 11 Beta, that will give you windows shell integration, so the context menu of the windows (when right click) it will has command to interact with TFS, as #Simon said, you can install Team Explorer Everywhere 11 Beta, but this for none windows OS or for add-on for other IDEs
Visual Studio Online has provided a means to do this (partly). On the website, navigate to your project's 'CODE/Explorer' tab. Right-click on whatever source directory/branch you wish and click the Download as ZIP menu item.
This will download a snapshot of whatever it is you selected. While extracting this won't "magically" link the files back to Visual Studio Online (ie, changes made will not be able to be committed directly from Windows Explorer, etc) or give you direct access to history; it will retain any source control bindings in any Visual Studio projects. This may be a good or a bad thing, depending on your circumstances.