Skip to content

Commit

Permalink
Merge pull request #4764 from sebastienlevert/elinor/add-kiota-workspace
Browse files Browse the repository at this point in the history
fix: Ensure VS Code sideloading works on Windows
  • Loading branch information
andrueastman authored Jun 5, 2024
2 parents c703500 + 1fd3f7e commit 9e3cb83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/execute-vscode-sideload.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ $PackageJson = Get-Content "package.json" -Raw | ConvertFrom-Json
# Install the extension
code --install-extension "./kiota-$($PackageJson.version).vsix"

$VsCodeRootPath = "~/.vscode"
$VsCodeRootPath = (Resolve-Path "~/.vscode").Path

if ($WSL) {
$Platform = "linux-x64"
$VsCodeRootPath = "~/.vscode-server"
$VsCodeRootPath = (Resolve-Path "~/.vscode-server").Path
}

$KiotaBin = "$VsCodeRootPath/extensions/ms-graph.kiota-$($PackageJson.version)/.kiotabin/$($PackageJson.kiotaVersion)/$Platform"
Expand Down
2 changes: 1 addition & 1 deletion vscode/microsoft-kiota/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Context: you're most likely a program manager eager to demo the latest bits from
- GitHub CLI `winget install GitHub.CLI`
- dotnet 8 `winget install Microsoft.DotNet.SDK.8`
- node 20 `winget install CoreyButler.NVMforWindows && nvm install lts && nvm use lts`
- vsce & TypeScript `npm i -g TypeScript @vscode/vsce`
- vsce & TypeScript `npm i -g typescript @vscode/vsce`

### Steps

Expand Down

0 comments on commit 9e3cb83

Please sign in to comment.