tfpt

Why are all files marked with 'merge' in TFS?

I am merging my development branch into the main branch. There is only a subset of files that I have changed in my development branch, all other files should remain unchanged. Logically, I only want to merge files which I've changed. I would not check in a file which I did not change. But when I do the merge operation in TFS, it mark...

How do I set up TFS PowerShell Snapin

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...

Can I query Changesets via tfpt.exe, tf.exe, or via the TFS API (from powershell)?

I know how to query workitems, although I haven't been very successful finding info on the WIQL. There's one basic example that seems to get repeated everywhere. I'd like to be able to query changesets. Can I do it with tf.exe, tfpt.exe, or.. ? ...

Cannot create New Team Project with TFS power tools 2008

Hi I am in the process of creating a new team project by executing the tfpt createteamproject command as a background process in my .net application. However, I get the following exception from the log : 2009-10-06 17:02:10Z | Module: Internal | Team Foundation Server proxy retrieved | Completion time: 0.140274 seconds 2009-10-06 17:...

How to associate work item with check in when using tf.exe

We have a rule in TFS that requires all checkins to be associated with a work item. We have an automated daily build process that uses tf.exe to check in the files. However, I did not find any way to associate files with a work item. I heard of tfpt, and have it installed, however, I did not have any success using it to associate files ...

Can do I use TFPT 2008 with VS2005/TFS2008?

We have TFS 2008 but use Visual Studio 2005. I would like to use some of the features from tfpt.exe 2008 but when I try to install tfpt, it will not install the commandline tool. My guess is that it won't install it because I don't have Visual Studio 2008. Can anyone confirm this? Does anyone know how to get around this? Since we us...

TFPT unshelve & Migrate: What is the Base version for merging?

I am trying to use tfpt unshelve /migrate to unshelve my shelveset on to a different branch. When it does the unshelve, it also attempts to merge the file with the file in the target branch. I do not understand where its getting the base version of this file. Can anyone tell me what version is base? ...

How does TFPT.exe find what workspace to work in?

In using tfpt from the command, I'm getting the error: PS D:\Main Line> tfpt uu /noget Unable to determine the workspace. Here I'm trying to use the Undo Unchanged command, but I've seen this error with other commands too. The path I'm at is the exact path that is mapped in my TFS workspace. I also tried this which doesn't work eith...

How to Import XML generated by TFPT into Excel 2007?

Below is the xml content generated by TFPT for the WIQL issued. When I try to import this XML into Excel 2007 XML source pane shows only "Id", "RefName" and "Value" as fields to be mapped. Whereas I would like to display System.Id, System.State, Microsoft.VSTS.Common.ResolvedDate, Microsoft.VSTS.Common.StateChangeDate as column heading...

Windows PowerShell Snap-In for IIS fails on 32-bit?

I'm trying to write a PowerShell script that will automate my IIS website deployments. I'm trying to run the scripts on my Windows Server 2008 R2 machine, under 32-bit in: C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe Whenever I run a WebAdministration command such as this: Get-Website -Name "MYWebsite" I get an error l...

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

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\powershel...

Running PSAKE script from the command line

I'm creating a batch file to execute my psake builds while integrating with teamcity and the TFS Powershell commandlets from TFPT and have come up with the following: @ECHO OFF SET COMMAND_TO_EXECUTE= SET COMMAND_TO_EXECUTE=%COMMAND_TO_EXECUTE% "& { SET COMMAND_TO_EXECUTE=%COMMAND_TO_EXECUTE% Import-Module '..\tools\psake\psake.psm1'; ...