私が実行するとPowerShellで
Get-TfsItemHistory . -Recurse -Version C13855~C14103
エラーが発生しますUnable to determine the source control server.
tfpt.exeを実行している場合は、単純に実行できますtf workspaces /s:serverUrl
。
このエラーを回避するにはどうすればよいですか?
私が実行するとPowerShellで
Get-TfsItemHistory . -Recurse -Version C13855~C14103
エラーが発生しますUnable to determine the source control server.
tfpt.exeを実行している場合は、単純に実行できますtf workspaces /s:serverUrl
。
このエラーを回避するにはどうすればよいですか?
PSでこれらの4つのコマンドを実行すると、問題が修正されました
Add-PSSnapin Microsoft.TeamFoundation.PowerShell
$tfsServerString = "http://server:8080/tfs/optionalName"
$tfs = get-tfsserver $tfsServerString
Get-TfsItemHistory $/TeamProjectName -Recurse -Version C13855~C14103 -Server $tfs | fl Comment,ChangesetId,CreationDate,Committer
この問題は、x64ウィンドウに固有のものです。