tfs-power-tools

Unshelve to another branch

梦想的初衷 提交于 2019-12-02 17:03:14
I'm trying to unpack my changes to the another branch using TFS Power Tools. I'm trying to execute command tfpt unshelve /migrate "NuGet Build" "/source:$/ProjectName/Main/Source" "/target:$/ProjectName/Main/Source-NuGet" But it returns message 'tfpt : Unable to determine the workspace' . I'm running command from the directory that mapped to this project. Moreover I've tried to use tf workspaces /s:http://our-tfs . Does anyone know how to solve this problem? carzogliore You can define your path in cmd with the TFPT. And then, from there, you go to the destination folder or workspace where you

TFS Power Tools 2008 Powershell Snapin won't run in on 64-bit in Windows 2008 R2

匆匆过客 提交于 2019-11-30 09:33:21
问题 I've installed TFS Power Tools 2008 along with its PowerShell integration features on my Windows 2008 R2 developer machine. When I try to run the following command to enable the snapin: Add-PSSnapin Microsoft.TeamFoundation.PowerShell in the 32-bit version of PowerShell.exe, under C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe it works fine. But when I try to do the same in the 64-bit version here: C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe I get the following error:

Forbidden Patterns Check-In Policy in TFS 2010

孤人 提交于 2019-11-30 04:45:16
问题 I've been trying to use the Forbidden Patterns part of the TFS 2010 Power Tools and I'm just not understanding something - I simply cannot get anything to change as I try to use this! I'm using the version that was released recently (I believe April 23, 2010), so it's not an old version. First off, yes, I know it's regex based, so let's clear that doubt... I have tried to block the following scenarios: 1) I have modified all of my T4 EF templates to generate files named EntityName.gen.cs . I

How do I set up TFS PowerShell Snapin

瘦欲@ 提交于 2019-11-30 04:44:28
I have installed TFS Power Tools and I am trying to use the powershell snapin, but I can't figure out how to set it up. When I look in the install folder, I only see the following 5 dlls. Microsoft.TeamFoundation.PowerToys.Client.dll Microsoft.TeamFoundation.PowerToys.Common.dll Microsoft.TeamFoundation.PowerToys.Controls.dll Microsoft.VisualStudio.TeamFoundation.PowerToys.Common.dll Microsoft.VisualStudio.TeamFoundation.PowerToys.dll I used instalutil to install each one, and then I used the folowing ps code to see what cmdlets where installed so I could add the snapin but it looks like only

tfpt.exe on Visual Studio 2017

不羁的心 提交于 2019-11-30 03:03:15
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? 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

How to rollback in Visual Studio TFS?

此生再无相见时 提交于 2019-11-29 22:05:21
I'm working on one sub-module of a large project for which is use VSTS 2008. I have a need to rollback the module to an earlier version (about 4 check-ins previous). I tried to do this in the Visual Studio UI, and finally realized there is no option to rollback. After some research, I determined there is a power tools download that purports to support rollback via a command-line tool. However, there appears to be virtually no documentation for it. Can anyone describe step by step how to rollback to a previous version in VS2008? (Using Power Tools or otherwise). Bonus question--anyone know if

TFS 2012 Unshelve to different branch -> An item with the same key has already been added

拈花ヽ惹草 提交于 2019-11-29 09:40:33
I need help resolving the following issue: I am attempting to unshelve code from the source branch onto a target branch. I am using the following: VS2012 RC TFS 2012 VS2012 x64 Cross Tools Command Prompt When I use the command prompt to perform the unshelve operation, the following occurs: Shelveset details dialog gets displayed with list of change files. Click Unshelve button. Observe command prompt output: "An item with the same key has already been added." I have downloaded ServicePack1 for power tools. However, I have failed to resolve this issue. I had the same issue and fixed it when I

Get Latest Version of Folder from TFS, using Powershell

痞子三分冷 提交于 2019-11-29 07:02:47
I am trying to " Get Latest Version " of a particular folder from TFS, using Powershell. I have installed the TFS Snappin, and have been using TFS Power Tools cmdlets in PowerShell (such as Get-TfsChildItem and Select-TfsItem etc) [ How do I set up TFS PowerShell Snapin ], and have gone through their documentation (which I didn't find explanatory enough!). Confused, on the exact cmdlet to use, when I am trying to get the latest version of an entire Folder structure from TFS, that is mapped to my local drive ( and not just a changeset or ChildItem ). Example : Tfs Path - $/APD-RepairSolutions

How do I set up TFS PowerShell Snapin

牧云@^-^@ 提交于 2019-11-29 02:38:49
问题 I have installed TFS Power Tools and I am trying to use the powershell snapin, but I can't figure out how to set it up. When I look in the install folder, I only see the following 5 dlls. Microsoft.TeamFoundation.PowerToys.Client.dll Microsoft.TeamFoundation.PowerToys.Common.dll Microsoft.TeamFoundation.PowerToys.Controls.dll Microsoft.VisualStudio.TeamFoundation.PowerToys.Common.dll Microsoft.VisualStudio.TeamFoundation.PowerToys.dll I used instalutil to install each one, and then I used the

How to rollback in Visual Studio TFS?

我只是一个虾纸丫 提交于 2019-11-28 18:19:13
问题 I'm working on one sub-module of a large project for which is use VSTS 2008. I have a need to rollback the module to an earlier version (about 4 check-ins previous). I tried to do this in the Visual Studio UI, and finally realized there is no option to rollback. After some research, I determined there is a power tools download that purports to support rollback via a command-line tool. However, there appears to be virtually no documentation for it. Can anyone describe step by step how to