File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,8 @@ jobs:
160160 script : |
161161 $personalAccessToken = ${env:PAT_MARKETPLACE}
162162 $vsixPath = Resolve-Path $(Build.StagingDirectory)\Artifact\SqlQueryTools.vsix
163- echo "visix path = $vsixPath"
164163 $publishManifestPath = Resolve-Path $(Build.StagingDirectory)\Artifact\publish.extension.manifest.json
165- echo "publish manifest path = $publishManifestPath"
164+ # Find the location of VsixPublisher
165+ $Installation = & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -prerelease -format json | ConvertFrom-Json
166+ $vsixPublisher = Join-Path -Path $Installation.installationPath -ChildPath "VSSDK\VisualStudioIntegration\Tools\Bin\VsixPublisher.exe" -Resolve
167+ echo "vsix publisher path = $vsixPublisher"
You can’t perform that action at this time.
0 commit comments