Skip to content

Commit 41897a7

Browse files
committed
Update azure-pipelines.yml for Azure Pipelines
1 parent 11f2f79 commit 41897a7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

azure-pipelines.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)