我正在尝试将Ttom 2015从TFS 2015完全升级到TFS 2018。 在我的TFS 2015中,我有一些运行一些脚本的自定义设置。 我设法使其中一些工作,但有些问题我坚持了。
我认为这是因为在我的TFS 2018中我缺少一些dll:
Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll
Microsoft.TeamFoundation.Controls.dll
Microsoft.TeamFoundation.OfficeIntegration.Common.dll
Microsoft.TeamFoundation.OfficeIntegration.Common.tlb
Microsoft.TeamFoundation.OfficeIntegration.Excel.dll
Microsoft.TeamFoundation.OfficeIntegration.PowerPoint.dll
Microsoft.TeamFoundation.OfficeIntegration.Project.dll
Microsoft.TeamFoundation.ProjectManagement.dll
Microsoft.TeamFoundation.Sync.Mapping.dll
Microsoft.TeamFoundation.Sync.Project.Server.Library.dll
Microsoft.TeamFoundation.Sync.ProjectServerApi.dll
Microsoft.TeamFoundation.Sync.Shared.dll
Microsoft.TeamFoundation.TestManagement.Controls.dll
Microsoft.TeamFoundation.WorkItemTracking.Controls.dll
Microsoft.TeamFoundation.WorkItemTracking.ControlsCore.dll
Microsoft.TeamFoundation.WorkItemTracking.Proxy.dll
Microsoft.VisualStudio.Services.Client.dll
Microsoft.WITDataStore32.dll
我的脚本与Powershell一起运行。在TFS 2015中,一切正常,但是现在,如果我尝试使用TFS 2015 dll运行它们,则会出现很多错误。像这样:
Cannot process command because of one or more missing mandatory parameters: Credential.
at Get-RestApiCredentials,
C:\Program Files\TFSPowerShell\Modules\Ecom.TFS\Ecom.TFS.Utils.psm1: line 21 at Get-SonarEndpointId,
C:\Program Files\TFSPowerShell\Modules\Globo.TFSSetup\Globo.TFSSetup.psm1: line 23 at New-GloboBuildDefinition,
C:\Program Files\TFSPowerShell\Modules\Globo.TFSSetup\Globo.Builds.psm1: line 93 at Provision-Release,
C:\Program Files\TFSPowerShell\Modules\Globo.TFSSetup\Globo.Releases.psm1: line 99
或者这个:
TF400813: Resource not available for anonymous access. Client authentication required. - Microsoft Team Foundation Server body,button
{ font-family:
{ background: transparent; border: 0; color: #106ebe; cursor: pointer; } function toggle(event) { if (!event.key || event.key === " "
|| event.key === "Spacebar" || event.key === "Enter") { var icon = document.getElementById("moreInfoIcon"); var section = document.getElementById("moreInfo");
var wasShowing = section.style.display === ""; icon.src = wasShowing ? "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8%2F9hAAAABGdBTUEAALGPC%2
FxhBQAAAAlwSFlzAAAOwgAADsIBFShKgAAAABl0RVh0U29mdHdhcmUAUGFpbnQuTkVUIHYzLjUuODc7gF0AAAB2SURBVDhPY2AYBThDoKWlJa2jo0OO7CBaunTpfxAGGmRCliEgzc%2BePfs%2Ff%2F78%2F01NTZokGwI
yAARAhkybNo10Q2AGwAwBeuV%2Fa2urHtEuWb58OWUuABkAC4Pm5mY7om2GKQQZAMJkaQYZAgx5P4rSAclOHjANAOQrXesb81M5AAAAAElFTkSuQmCC" : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABA
AAAAQCAYAAAAf8%2F9hAAAABGdBTUEAALGPC%2FxhBQAAAAlwSFlzAAAOwgAADsIBFShKgAAAABl0RVh0U29mdHdhcmUAUGFpbnQuTkVUIHYzLjUuODc7gF0AAABCSURBVDhPY2AYBfQJATU1NWsgLifLNhUVFVeg5v8gTLIBM
M2RkZGkG4CsmWQD0DWTbAAowGD%2BRqLJC0SSA24EagAAq9sjtZrUZogAAAAASUVORK5CYII%3D"; section.style.display = wasShowing ? "none" : ""; event.target.setAttribute("aria-expanded",
String(!wasShowing)); } } Error The page you are looking for is currently unavailable. TF400813: Resource not available for anonymous access. Client authentication required.
More information about this error TF400813: Resource not available for anonymous access. Client authentication required. Things you can try:
Refresh the current page Go back to the previous
page Sign in as a different user Submit feedback to Microsoft about this error Microsoft Visual Studio Team Foundation Server © Microsoft Corporation. All rights reserved.
at Get-SonarEndpointId,
C:\Program Files\TFSPowerShell\Modules\Globo.TFSSetup\Globo.TFSSetup.psm1: line 26 at New-GloboBuildDefinition,
C:\Program Files\TFSPowerShell\Modules\Globo.TFSSetup\Globo.Builds.psm1: line 93 at Provision-Release,
C:\Program Files\TFSPowerShell\Modules\Globo.TFSSetup\Globo.Releases.psm1: line 99
但是请注意,相同的脚本在TFS 2015中运行良好。 因此,我尝试更改此脚本使用的dll。之后,我没有收到任何错误,但是它们没有按预期运行。
所以我试图获取丢失的dll,但我的TFS 2018没有它们。我怎样才能得到它们?