vs.net 2012 tfs how to select all checkout files for a user? - visual-studio

how can I select all the checkout files for a user in tfs 2012? When looking in the source control explorer in can see the find changesets but not a status option?

From the commandline:
tf status $/Project/ /collection:http://yourtfsserver:8080/tfs/YourCollectionName
From Team Explorer the option isn't there by default, but the Team Foundation Server Power Tools add this feature to the context menu:
Team Explorer Enhancements
This tool provides additional Visual Studio menu options and functions
to support finding files under version control by status or wildcard,
opening a folder using File Explorer from the Source Control Explorer
context menu, and labeling files and folders in Source Control
Explorer. Clone builds definitions easily and copy work item paths.
Collaborate and share with your teammates within Visual Studio using
the new Team Members page in the Team Explorer tool window. You can
communicate with your team through instant messaging, share queries
and components, create workspace templates, and track your sprint
progress.

Related

Do we have Git source control explorer in Visual Studio 2017?

We get source control explorer for the TFS source control model, and it is productive.
Do we get a similar source control explorer for Git in Visual Studio 2017?
If we do have it, how do I navigate to it?
In short, no, there is no built-in UI support for Git in Visual Studio 2017.
Alternatively, you can try the following extensions based on your source control setup.
In Visual Studio, select Tools → Extensions and Updates, select Online on the left pane, search for one of the following in the search bar in the top right:
Bitbucket → install Visual Studio Bitbucket Extension
GitHub → Install GitHub Extension for Visual Studio
Git → Install Easy Git Integration Tools
The first two do a good job of providing UI controls to work with source control as they relate to Bitbucket or GitHub in a similar fashion to regular TFS integration (that you may be familiar with). I haven't tried the third one myself, and I'm not sure what that one is like.
Please see the Solution Explorer - Folder View. This can be accessed from Solution Explorer (open with CTRL+W, S), then by clicking the Solutions and Folders toggle button. In Visual Studio 2017, it looks like this:
Though it's not a 1:1 capability of the Team Foundation Source Control Explorer view, it does have the ability to view files in the local repo, open, view history, etc.
Visual Studio does not currently have Source Control Explorer for Git repositories. You might consider voting on this User Voice item to help the product team prioritize features:
https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/4178754-visual-studio-tools-for-git-extension-microsoft-g
In Visual Studio 2019, open the folder for the work space using "File->Open->Folder...". The solution explorer, via "View->Solution Explorer", should display all the files which you can then right click to view history and other GIT operations.

Display list of files which are checked out in TFS before closing the visual studio solution

I want to display a list of all the files which are checked out by the user in TFS. This is just incase user has checked out some files accidentally. Is there is a setting available in Visual Studio/TFS which can do that?
Install TFS Power Tool, which provides additional menu options like by status, it can display all checked out.
Team Explorer Enhancements
This tool provides additional Visual Studio menu options and functions
to support finding files under version control by status or wildcard,
opening a folder using File Explorer from the Source Control Explorer
context menu, and labeling files and folders in Source Control
Explorer. Clone builds definitions easily and copy work item paths.
Collaborate and share with your teammates within Visual Studio using
the Team Members page in the Team Explorer tool window. You can
communicate with your team through instant messaging, share queries
and components, create workspace templates, and track your sprint
progress.

No TFS-connection in Visual Studio Solution Explorer

Our project is on Visual Studio Team Services (was TFS Online) and we are using visual studio 2013, but I dont seem to have any connection from Solution Explorer to Team Services.
I have no problem opening Team Explorer-> Source Control Explorer and Get Latest, but when I open the .sln file in visual studio, it seems disconnected to Team Services in the sense that I cant find menu items like "Get Latest", "Check out" and so on. When I create new items in VS they aren't added to Team Services, I have to add them by using Source Control Explorer.
My mappings seems fine, they point to the folders where I have my source code locally.
So, how to I connect my VS to Visual Studio Team Services?
Under Source Control Explorer in VS, double click the .sln file, then go to Solution Explorer to check whether the files under the solution is source controlled.
Additionally, you can go to File--Source Control to see whether you can see "Get latest version" or "Check Out for Edit".
Open the File - Source Control - Manage Source Control and click Bind for each project in the solution.
Also make sure that Team Foundation Server is selected as the version control tools in Tools - Options - Source Control.

Visual Studio 2012 TFS

I have created a project in VisualStudioOnline and then I added my solution to Source Control in TFS. Now I am using other computer and I want to continue my work. How can I load my project in VS2012? I am connected to TFS but I can't open my solution.
If you are using Git then you need to open Team Explorer in visual studio and select "Connect". Your VSO account should be listed, if not add it, and you can select your team project. Once connected you should see a list of Git repos. Select one and click "clone"
If you are using TFVC you will need to select "Source explorer" and map your workspace locally. You should, once connected, see the solutions listed at the bottom of the UI. Just double click to map a workspace and open...

VS 2008 and Team Explorer- checked out files

how to search for files checked out by other users in vs 2008 Team Explorer. I can search for all the files checked out in a project in Visual Source Safe by doing a search, Is there a similar functionality implemented in team explorer? Right now I have to click on every folder and see if files from that folder are checked out by any one else or not.
Thanks
Add this command into the "External Tools..." list of VS.
Tools >> External Tools…
Select “Add” and enter the following:
Title: “View all checked-out files”
Command: “tf.exe”
Arguments: “status $(ProjectDir) /user:* /recursive “
Check “Use Output window”
Un-check “Prompt for arguments”
Select “OK”.
Get the TFS Power Tools - they integrate into the Team Explorer view. You'll get a list of people on the team. You can right click the team members and see their current changesets.
You can check out the TFS Power Tools on the Microsoft site here - the October 2008 edition has the Team Members functionality.
The Attrice TFS Sidekicks can be used to get some info not displayed in VS. I believe the Status view will display what you are after: http://www.attrice.info/cm/tfs
Installing the (free) Team Foundation Server Power Tools from Microsoft adds a number of extra features to Source Control Explorer including the ability to right click on a folder and choose "Find In Source Control".
You can download Team Foundation Server Power Tools from here: http://msdn.microsoft.com/en-us/teamsystem/bb980963.aspx.
You can run TF.exe status command statement to get list of files checked out under specific project. you can also search based on user name..
here is the link for more information.
http://patelshailesh.com/index.php/how-to-get-the-list-of-currently-checked-out-files-in-tfs
Hope this helps
As far as I know it's not possible from Team Explorer.
You can do it from command line using TF STATUS command.

Resources