source-control-explorer

Extend TFS Source-Control-Explorer

随声附和 提交于 2020-01-30 03:56:07
问题 I already created a Visual Studio 2012 extension to place a ComboBox at Source Control Explorer. I am using this guid at my vsct file: <!-- MyComboBox in Source Control Explorer --> <Combo guid="myMainguid" id="cmdSSEComboBox" priority="0x0700" type="DropDownCombo" defaultWidth="130" idCommandList="cmdSSEGetItemsComboBox"> <Parent guid="guidSourceControlExplorer" id="SSEToolBar" /> <CommandFlag>IconAndText</CommandFlag> <CommandFlag>CommandWellOnly</CommandFlag> <Strings> <ButtonText

Track merged changesets from deleted branch

我的梦境 提交于 2020-01-16 04:26:06
问题 I find the 'Track Changeset' feature in TFS useful to allow me to visualise which changesets have been merged into Main which works as an audit when checking the state of our codebase. However when a branch has been merged and subsequently deleted I am unable to retrieve the changeset that was merged. How do I discover that the newly deleted branch was brought into Main before being deleted? This is trivial in SVN (as we have the 'Copy from path' and 'Revision' columns against each file).

How do I check which changeset my workspace is in

十年热恋 提交于 2019-12-23 21:31:40
问题 In Team foundation server, In order to analyze a bug that is currently in production, I used the "get latest version" functionality to get the changeset that was active in production so that I could run my unit tests against it. I want to double-check which changeset I got just to make sure that I actually did get the correct version of source code. Is there an easy way to do this with tfs? 回答1: If you bring up the file/folder in Source Control Explorer, right-click and go to Properties it

gitk equivalent of git log --follow <full path to file>

非 Y 不嫁゛ 提交于 2019-12-23 06:44:08
问题 So I have a file called one.txt that I have been modifying over the years on master branch. gitk one.txt will show the entire history of that one particular file. However after I changed one.txt => two.txt , gitk two.txt doesn't show any change before the rename. I tried gitk --follow two.txt , but only gave the comment for each commit, but not the actual file change information. I know I can do git log --follow two.txt , but you have to gitk each SHA1 value to each what is being changed. So

How to create Explorer Shortcuts to specific TFS 2010 Source Control Paths

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-19 03:19:21
问题 We are slowly moving projects from old file based storage (don't ask) to tfs. Our coders are still used to find the code in the file System. Since we are talking about 100 Projects each with some sort of history, we have to move them carefully one by one. Resulting that we will have to live for some time with the already existing file structure mixed with the TFS managed files. To make life easier for our coders, I would like to create a shortcut in the filesystem, for each project that we

Get TFS mapped folder of a local sub folder of the solution?

泄露秘密 提交于 2019-12-12 20:22:28
问题 Let's say we have a solution in TFS Source Control which has already been mapped to a local folder SolutionFolder . We are in a sub folder SubFolder of this SolutionFolder . How can we write C# code to get the mapped path of this SubFolder ? 回答1: Use the WorkStation.Current to grab the information for the folder in question: Import the following namespaces: using Microsoft.TeamFoundation.Client; using Microsoft.TeamFoundation.VersionControl.Client; and then use you can get to the data you

Solution Explorer doesnt show the folder although the folder is present in my local drive (local copy) Visual studio [duplicate]

霸气de小男生 提交于 2019-12-07 00:35:53
问题 This question already has answers here : Why doesn't Visual Studio refresh the folders when I click the Solution Explorer refresh button? (3 answers) Closed 4 years ago . I have copied the source code from source control explorer to my local drive. the mapping is done and i am able to work on the code and build it. However, there are some files which doesnot show up in the Solution Explorer although it shows in the local copy of drive. I tried to refresh it and i cannot get the correct folder

Change TFS source control mapping in Visual Studio 2013

跟風遠走 提交于 2019-12-05 20:12:31
问题 I have multiple solutions that were previously mapped to a hosted TFS. Their local mapping was defined as well and all the source code was up-to-date locally. I have since discontinued my TFS subscription and started using visualstudio.com as my TFS server. I went into one of the solutions, deleted the *.vssscc files from the solution and the *.vspscc files from each nested project. When I open the solution in VS 2013, the output window gives me a message saying the the original TFS

Solution Explorer doesnt show the folder although the folder is present in my local drive (local copy) Visual studio [duplicate]

自作多情 提交于 2019-12-05 05:45:38
This question already has an answer here: Why doesn't Visual Studio refresh the folders when I click the Solution Explorer refresh button? 3 answers I have copied the source code from source control explorer to my local drive. the mapping is done and i am able to work on the code and build it. However, there are some files which doesnot show up in the Solution Explorer although it shows in the local copy of drive. I tried to refresh it and i cannot get the correct folder structure in solution explorer. Any advice how to get it ?? To see other files in the solution explorer click the "Show All

Hotkey to open TFS Source Control Explorer in Visual Studio 2012?

回眸只為那壹抹淺笑 提交于 2019-12-04 08:16:23
问题 Currently I have to open Team Explorer and click on Source Control Explorer as below snapshot. I do this very often and need a hotkey for that. What is it then? 回答1: Try with below step: Go to Options of Tools menu Select the Keyboard from Environment Select View.TfsSourceControlExplorer from Show commands containing: . You can type View.TFS in the textbox to filter the list. Enter your hotkey in Press shorcut keys => click on Assign Hope it helps! 回答2: According to a comment that I found in