我正在使用TFS 2018,我想安装一个名为“替换令牌”的插件。 https://marketplace.visualstudio.com/items?itemName=qetza.replacetokens
由于我的网络存在一些限制,因此无法从市场上安装它,因此我将其下载(qetza.replacetokens-3.1.0.vsix文件)。
我不确定如何从此文件安装此插件,但我双击了打开启动器的文件。但比我得到这个错误:
在日志中,我得到了:
15/05/2019 13:30:41 - Searching for applicable products...
15/05/2019 13:30:41 - Found installed product - Global Location
15/05/2019 13:30:41 - Found installed product - ssms
15/05/2019 13:30:41 - Found installed product - Visual Studio Community 2017
15/05/2019 13:30:41 - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
at VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath,
String extensionPackParentName, Boolean isRepairSupported, IStateData
stateData, IEnumerable`1& skuData)
at VSIXInstaller.ExtensionPackService.IsExtensionPack(IStateData stateData, Boolean isRepairSupported)
at VSIXInstaller.ExtensionPackService.ExpandExtensionPackToInstall(IStateData stateData, Boolean isRepairSupported)
at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
at VSIXInstaller.App.Initialize()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
也许我不是从正确的角度出发。
有人可以告诉我如何在没有使用Marketplace的情况下安装此插件吗?
编辑:我什至阅读了Microsoft文档,但找不到使用它安装扩展程序的方法。 https://docs.microsoft.com/en-us/azure/devops/marketplace/get-tfs-extensions?view=azure-devops-2019
答案 0 :(得分:1)
您当前的屏幕快照表明您试图双击VSIX,VSIX试图将其作为Visual Studio插件进行处理。
TFS 2018的说明位于https://docs.microsoft.com/en-us/azure/devops/marketplace/get-tfs-extensions?view=tfs-2018#install-team-foundation-server-extensions-when-disconnected,您的链接是Azure DevOps 2019安装指南,为此它具有不同的UI。通常,在查看新文档时,请确保在侧栏上方的左上角选择了正确的版本。