diff --git a/msbuild-editor-vscode/package.json b/msbuild-editor-vscode/package.json index 33087830..6950392d 100644 --- a/msbuild-editor-vscode/package.json +++ b/msbuild-editor-vscode/package.json @@ -40,8 +40,8 @@ "test": "vscode-test", "publish-server": "dotnet publish ../MSBuildLanguageServer/MSBuildLanguageServer.csproj --configuration Debug --output ./server", "copy-vsix-assets": "cp ../LICENSE . && cp ../art/icon-128.png icon.png", - "vsix-pack": "vsce package --baseImagesUrl https://github.com/mhutch/MonoDevelop.MSBuildEditor/raw/HEAD/msbuild-editor-vscode --no-update-package-json --no-git-tag-version --pre-release `nbgv get-version -v NpmPackageVersion`", - "vsix-install": "npm run vsix-pack && code --install-extension msbuild-editor-`nbgv get-version -v NpmPackageVersion`.vsix" + "vsix-pack": "pwsh -c \"vsce package --baseImagesUrl https://github.com/mhutch/MonoDevelop.MSBuildEditor/raw/HEAD/msbuild-editor-vscode --no-update-package-json --no-git-tag-version --pre-release $(nbgv get-version -v NpmPackageVersion)\"", + "vsix-install": "pwsh -c \"npm run vsix-pack && code --install-extension msbuild-editor-$(nbgv get-version -v NpmPackageVersion).vsix\"" }, "dependencies": { "@vscode/extension-telemetry": "^0.9.0",