我使用的是TFS 2018,我想安装一个叫做"Replace Tokens“的插件。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
发布于 2019-05-16 09:06:39
您当前的屏幕截图表明您试图双击VSIX,VSIX试图将其作为Visual Studio插件进行处理。
TFS2018的说明在这里,您的链接指向https://docs.microsoft.com/en-us/azure/devops/marketplace/get-tfs-extensions?view=tfs-2018#install-team-foundation-server-extensions-when-disconnected DevOps 2019安装指南,该指南具有不同的UI。通常,在查看新文档时,请确保在侧边栏上方的左上角选择了正确的版本。
https://stackoverflow.com/questions/56153976
复制相似问题