diff --git a/BuildTasks/PublishVSExtension/Utils.ts b/BuildTasks/PublishVSExtension/Utils.ts index 23190143..e97fc4d9 100644 --- a/BuildTasks/PublishVSExtension/Utils.ts +++ b/BuildTasks/PublishVSExtension/Utils.ts @@ -8,7 +8,7 @@ let loggedIn = false; export function getVsixPublisherExe(): string { if (cacheVsixPublisherExe === "") { const vswhereTool = tl.tool(path.join(__dirname, "tools", "vswhere.exe")); - vswhereTool.line("-version [15.0,17.0) -latest -requires Microsoft.VisualStudio.Component.VSSDK -find VSSDK\\VisualStudioIntegration\\Tools\\Bin\\VsixPublisher.exe"); + vswhereTool.line("-version [15.0,) -latest -requires Microsoft.VisualStudio.Component.VSSDK -find VSSDK\\VisualStudioIntegration\\Tools\\Bin\\VsixPublisher.exe"); const vswhereResult = vswhereTool.execSync({ silent: true } as tr.IExecSyncOptions); const vsixPublisherExe = vswhereResult.stdout.trim(); if (vswhereResult.code === 0 && vsixPublisherExe && tl.exist(vsixPublisherExe)) @@ -75,4 +75,4 @@ export function publish(vsixPath: string, manifestPath: string, warningsToIgnore } console.info(`Published successfully.`) -} \ No newline at end of file +}