Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
cb40064
Remove gulp
JoeRobich Feb 13, 2026
c5bd6ca
Update npm commands for building VSIX packages
JoeRobich Feb 15, 2026
7a21656
Move task code into task files.
JoeRobich Feb 18, 2026
d3741ff
Install language server depenedencies as part of `npm i`
JoeRobich Feb 18, 2026
c097328
Update main version
siramvikram Feb 18, 2026
844dd42
[automated] Update main version (#9011)
dotnet-policy-service[bot] Feb 18, 2026
4e3599b
Move from gulp to node scripts (#9006)
JoeRobich Feb 18, 2026
7194ed2
Localization result of 4e3599b786199e7157def1580fee57314f2d7378.
dotnet-bot Feb 18, 2026
27636ad
Localization result based on 4e3599b786199e7157def1580fee57314f2d7378…
dotnet-policy-service[bot] Feb 18, 2026
6d4206b
Don't show misc file toast for deleted file
dibarbet Feb 19, 2026
f5091c7
remove unnecessary check
dibarbet Feb 19, 2026
8af59cd
Do not limit fetch depth
JoeRobich Feb 20, 2026
72e21b5
Do not limit fetch depth (#9015)
JoeRobich Feb 20, 2026
fc80854
Localization result of 72e21b59092240edd66eeb24800032da38b22a5d.
dotnet-bot Feb 20, 2026
a6e763a
Localization result based on 72e21b59092240edd66eeb24800032da38b22a5d…
dotnet-policy-service[bot] Feb 20, 2026
6e7c8e4
Refactor build-vsix to set run variables in a templated step.
JoeRobich Feb 21, 2026
4a62ee8
Add support for C#DK's tooling runtime path override setting
JoeRobich Feb 20, 2026
0a569f0
Log a warning if toolingRuntimePath is invalid
JoeRobich Feb 20, 2026
c7dfdd6
Perform a version check of the tooling runtime
JoeRobich Feb 20, 2026
8bb5ce5
Always log the runtime override path when set
JoeRobich Feb 20, 2026
de8d3c9
[main] Add support for C#DK's tooling runtime path override setting (…
JoeRobich Feb 21, 2026
f3a87bf
Localization result of de8d3c95f6ae658817199f06dedf9708367b4df5.
dotnet-bot Feb 21, 2026
fe57774
Localization result based on de8d3c95f6ae658817199f06dedf9708367b4df5…
dotnet-policy-service[bot] Feb 21, 2026
3046873
Localization result of fe57774c22e4be32149f62cbd203599beb2620f8.
dotnet-bot Feb 22, 2026
a537d36
Localization result based on fe57774c22e4be32149f62cbd203599beb2620f8…
dotnet-policy-service[bot] Feb 22, 2026
fff5c0b
Bump Razor to 10.0.0-preview.26121.1
davidwengier Feb 22, 2026
5d4a0c1
Update changelog with PR number
davidwengier Feb 22, 2026
eda8c1c
Update CHANGELOG.md
davidwengier Feb 22, 2026
ea00206
Bump Razor to 10.0.0-preview.26121.1 (#9025)
davidwengier Feb 22, 2026
a4deb3a
Refactor build-vsix to set run variables in a templated step. (#9019)
JoeRobich Feb 23, 2026
c992952
Remove tooling runtime override validation
JoeRobich Feb 23, 2026
1500bd5
Apply suggestion from @JoeRobich
JoeRobich Feb 23, 2026
2e61f27
[main] Remove tooling runtime override validation (#9027)
JoeRobich Feb 24, 2026
15d9980
Don't show misc file toast for deleted file (#9014)
dibarbet Feb 24, 2026
5c419e6
Initial plan
Copilot Feb 25, 2026
ceb9363
Add languageServerPID to CSharpExtensionExports
Copilot Feb 25, 2026
7bbd230
Apply suggestions from code review
JoeRobich Feb 25, 2026
0a3d452
Apply suggestions from code review
JoeRobich Feb 25, 2026
5ed4fce
Apply suggestion from code review
JoeRobich Feb 25, 2026
bb3fa06
Initial plan
Copilot Feb 25, 2026
8d85c3c
Make projectId static
JoeRobich Feb 25, 2026
824105f
Add captureActivityLogs to CSharpExtensionExports
Copilot Feb 25, 2026
071ce7a
Move createActivityLogCapture to loggingUtils; update captureLogs to …
Copilot Feb 25, 2026
a2247ed
Fix CI: update dump.ts and profiling.ts to use static RoslynLanguageS…
Copilot Feb 25, 2026
bf038f9
Add `captureActivityLogs` to `CSharpExtensionExports` (#9029)
JoeRobich Feb 25, 2026
cb4dadd
Merge branch 'main' into copilot/add-language-server-pid
JoeRobich Feb 25, 2026
991f778
Add `languageServerProcessId` to `CSharpExtensionExports` (#9028)
JoeRobich Feb 26, 2026
bd79773
Unify logging commands under csharp.collectLogs
JoeRobich Feb 26, 2026
682f456
Initial plan
Copilot Feb 26, 2026
c964e71
Add Roslyn client telemetry event for server crash
Copilot Feb 26, 2026
1ffa067
Rename Roslyn crash telemetry event to serverCrash
Copilot Feb 26, 2026
58cb3e5
Emit client telemetry when Roslyn language server crashes (#9033)
dibarbet Feb 27, 2026
6e7faab
Restore comments
JoeRobich Feb 27, 2026
fcf7df9
Update Roslyn to 5.6.0-2.26127.2 (#9034)
RikkiGibson Feb 27, 2026
017404a
Apply suggestion from @JoeRobich
JoeRobich Mar 2, 2026
43c84e3
Unify logging commands under `csharp.collectLogs` (#9032)
JoeRobich Mar 2, 2026
d6e0fae
Show readme with log description and sharing instructions
JoeRobich Mar 2, 2026
5a04aa6
Localization result of 43c84e3b9ee2e5f9ec0811933bee94df180fb4de.
dotnet-bot Mar 2, 2026
6a3a503
Update skill to reflect the move away from gulp
davidwengier Mar 2, 2026
14fe4e6
Update skill to reflect the move away from gulp (#9038)
davidwengier Mar 2, 2026
7c2aa49
Apply suggestion from @JoeRobich
JoeRobich Mar 2, 2026
9680635
Localization result of 14fe4e6f41d4ffb0355a0d9d32b93d04624e72b0.
dotnet-bot Mar 2, 2026
830302e
Localization result based on 43c84e3b9ee2e5f9ec0811933bee94df180fb4de…
dotnet-policy-service[bot] Mar 2, 2026
cbc36de
Localization result based on 14fe4e6f41d4ffb0355a0d9d32b93d04624e72b0…
dotnet-policy-service[bot] Mar 3, 2026
51d7047
Bump Razor to 10.0.0-preview.26152.1
Mar 3, 2026
4b604bb
Update changelog with PR number
Mar 3, 2026
368034d
Tweak changelog
davidwengier Mar 3, 2026
8c77093
Bump Razor to 10.0.0-preview.26152.1 (#9040)
davidwengier Mar 3, 2026
9b4a5ae
Show readme with log description and sharing instructions (#9036)
JoeRobich Mar 3, 2026
de4cb32
Localization result of 9b4a5ae0fcc867133bb006efba87b09704a8564c.
dotnet-bot Mar 3, 2026
5581c52
Localization result based on 9b4a5ae0fcc867133bb006efba87b09704a8564c…
dotnet-policy-service[bot] Mar 3, 2026
419c4d6
Update debugger for v2.131.0 (#9043)
WardenGnaw Mar 4, 2026
bd97ab6
Localization result of 419c4d6947dc38cc3d78d74729328ea2ebbcf4d0.
dotnet-bot Mar 4, 2026
bc48237
Bump immutable from 4.3.0 to 4.3.8
dependabot[bot] Mar 4, 2026
24acc0d
Localization result based on 419c4d6947dc38cc3d78d74729328ea2ebbcf4d0…
dotnet-policy-service[bot] Mar 5, 2026
04f3cab
Adds a skill to generate release notes
JoeRobich Mar 6, 2026
86ac84b
Bump Razor to 10.0.0-preview.26155.3
davidwengier Mar 9, 2026
9f01c79
Update changelog with PR number
davidwengier Mar 9, 2026
ecb9150
Apply suggestions from code review
davidwengier Mar 9, 2026
a8f25cd
Bump immutable from 4.3.0 to 4.3.8 (#9047)
dibarbet Mar 9, 2026
f2a15bd
Update Roslyn to 5.6.0-2.26159.3
dibarbet Mar 9, 2026
895cf7d
Update changelog with PR number
dibarbet Mar 9, 2026
959ec78
Update CHANGELOG.md
JoeRobich Mar 9, 2026
70e1a25
Update roslyn to 5.6.0-2.26159.3 (#9057)
dibarbet Mar 9, 2026
be1f480
Merge branch 'main' into update/razor-10-0-0-preview-26155-3
davidwengier Mar 9, 2026
604e7f8
Bump Razor to 10.0.0-preview.26155.3 (#9056)
davidwengier Mar 9, 2026
cbef45f
Adds a skill to generate release notes (#9053)
JoeRobich Mar 12, 2026
9e41185
Bump .NET runtime to 10.0.5
JakeRadMSFT Mar 12, 2026
8337de3
Initial plan
Copilot Mar 12, 2026
2f05be4
Update dotnet.defaultSolution description
Copilot Mar 12, 2026
f2c1884
Remove (Previously omnisharp...) suffixes from defaultSolution descri…
Copilot Mar 12, 2026
ae4561f
Remove all (Previously omnisharp...) suffixes from all settings in al…
Copilot Mar 12, 2026
ff6d973
Update enablement condition for collectLogs command
JoeRobich Mar 12, 2026
5539219
Update enablement condition for collectLogs command (#9063)
JoeRobich Mar 13, 2026
fa22dc0
Change test suite names
JoeRobich Mar 13, 2026
2ed2d3a
Fix
JoeRobich Mar 13, 2026
b1c5d29
Shorten test suite names
JoeRobich Mar 13, 2026
05495e7
Fix formatting
JoeRobich Mar 13, 2026
c33573b
Update tasks/tests/testTasks.ts
JoeRobich Mar 13, 2026
0686cc8
Bump .NET runtime to 10.0.5 (#9061)
JoeRobich Mar 13, 2026
14bed49
Update Roslyn to 5.6.0-2.26163.11
dibarbet Mar 16, 2026
d6801e5
Update changelog with PR number
dibarbet Mar 16, 2026
3b2157d
Remove VS-only changelog entries
dibarbet Mar 16, 2026
14fb608
Remove AutoLoad and auto-load progress entries
dibarbet Mar 16, 2026
1d88d26
Update roslyn to 5.6.0-2.26163.11 (#9068)
dibarbet Mar 16, 2026
ec20276
Update `dotnet.defaultSolution` setting description and remove `(Prev…
dibarbet Mar 16, 2026
79466f8
Merge remote-tracking branch 'origin/prerelease' into merge/main-to-p…
JoeRobich Mar 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@
]
}
},
"postCreateCommand": "npm ci && npx gulp installDependencies && npm i -g gulp"
"postCreateCommand": "npm ci"
}
7 changes: 4 additions & 3 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@
- **Build**: `npm run compile` (or use VS Code build task)
- **Test**: `npm test` (runs Jest tests)
- **Package**: `npm run package` (creates VSIX)
- **Dependencies**: Use `gulp installDependencies` to fetch .NET/LS components
- **Dependencies**: Use `npm run installDependencies` to fetch .NET/LS components
- **Debugging**: See `docs/debugger/` for advanced .NET debugging, including runtime and external library debugging.
- **Roslyn Copilot Language Server**: To update/test, see instructions in `CONTRIBUTING.md` (triggers pipeline, checks logs for install, etc.)

## Infrastructure Tasks
- **Tasks Directory**: Build automation is in `tasks/` using Gulp. Key modules:
- **Tasks Directory**: Build automation is in `tasks/` with one script per task under task-area folders such as `tasks/packaging/`, `tasks/tests/`, etc. Key modules:
- `testTasks.ts`: Test orchestration for unit/integration tests across components
- `offlinePackagingTasks.ts`: VSIX packaging for different platforms (`vsix:release:package:*`)
- `componentUpdateTasks.ts`: Automated updates for Roslyn Copilot components
- `snapTasks.ts`: Version bumping and changelog management for releases
- `gitTasks.ts`: Git operations for automated PR creation and branch management
- **Adding New Tasks**: Create `.ts` file in `tasks/`, define `gulp.task()` functions, require in `gulpfile.ts`
- **Adding New Tasks**: Create a dedicated `.ts` entry script under the matching area in `tasks/` and matching scripts entry in the `package.json`
- **Task Patterns**: Use `projectPaths.ts` for consistent path references, follow existing naming conventions (`test:integration:*`, `vsix:*`, etc.)

## Project Conventions & Patterns
Expand All @@ -43,6 +43,7 @@
- Use `test/*/integrationTests/integrationHelpers.ts` for test setup utilities
- Tests use Jest with VS Code test environment and require workspace test assets
- Run with `npm run test:integration:*` commands (e.g., `npm run test:integration:csharp`)
- **Comments**: Prefer why comments over what comments. For complex logic, include references to related files or documentation. Do not remove existing comments unless they are clearly outdated or incorrect.

## Integration Points
- **GitHub Copilot**: Extension registers C# context and related files providers if Copilot/Copilot Chat extensions are present.
Expand Down
240 changes: 240 additions & 0 deletions .github/skills/generate-release-notes/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,240 @@
---
name: generate-release-notes
description: Generate release notes for a new stable release of the C# extension by gathering prerelease CHANGELOG entries and writing them in VS Code release notes style. Use this when asked to generate, draft, or write release notes.
---

# Generate Release Notes

This skill describes how to generate release notes for a stable release of the C# VS Code extension.

## Background

### Versioning Scheme

The extension uses a tiered versioning scheme: `2.<minor>.x`.

- **Release versions** have a minor version ending in `0` (e.g., `2.120.x`, `2.130.x`).
- **Prerelease versions** have a minor version that does **not** end in `0` (e.g., `2.121.x`, `2.122.x`, ..., `2.129.x`).
- When a new stable release is created, the minor version **increments to the next ten** (e.g., `2.120` → `2.130`).

So for a release at version `2.130`, the prerelease entries are `2.121.x` through `2.129.x`. For `2.140`, they are `2.131.x` through `2.139.x`.

### Branch Structure

- `main` — Active development; CHANGELOG here contains the latest prerelease entries.
- `prerelease` — Published prerelease builds; CHANGELOG here is the **canonical source** for prerelease entries.
- `release` — Published stable builds.

**Always use the CHANGELOG from the `prerelease` branch** as the source of truth for changes since the last release.

## Input Required

- **Target release version** (optional): The stable version being released (e.g., `2.130`). If not provided, determine it from the current `version.json` on `main` by rounding up the minor version to the next ten.

## Process

### Step 1: Determine the version range

1. Identify the **target release version**. If not given, read `version.json` on `main` to get the current minor version, and round up to the next ten (e.g., if current is `2.131`, the next release is `2.140`).
2. Calculate the **previous release version** by subtracting 10 from the target minor (e.g., target `2.140` → previous `2.130`).
3. The prerelease sections to gather are all minor versions **after** the previous release and **before** the target release. For example, for target `2.140`: sections `2.131.x`, `2.132.x`, ..., `2.139.x`.

### Step 2: Fetch the CHANGELOG from prerelease and main branches

The prerelease entries may be spread across the `prerelease` and `main` branches. The `prerelease` branch is the canonical source, but `main` may contain newer entries that haven't been published to prerelease yet.

Fetch both branches and retrieve their CHANGELOGs:

```bash
git fetch origin prerelease main
git show origin/prerelease:CHANGELOG.md
git show origin/main:CHANGELOG.md
```

Extract sections for the prerelease versions identified in Step 1 from **both** branches, deduplicating any sections that appear in both. Prefer the `prerelease` branch version if a section appears in both.

### Step 3: Follow PR and issue links to gather details

For each entry in the extracted CHANGELOG sections:

1. **Follow the PR link** (e.g., `https://github.com/dotnet/vscode-csharp/pull/8954`) to read the PR description for additional context about the change.
2. **If the PR has a linked issue**, follow that link too to understand the user-facing problem being solved.

This additional context is critical for writing meaningful, user-facing release notes rather than just echoing commit messages.

### Step 4: Generate the release notes

Write a markdown document in the style of VS Code release notes (see https://code.visualstudio.com/updates/v1_106 for an example of the format and tone).

#### Content rules

Apply these rules strictly when deciding what to include and how to organize it:

- **Do not mention version bumps directly** — instead, describe the improvements and fixes they bring.
- **PRs from `dotnet/razor`** should only appear under a **Razor** section.
- **`xamlTools` fixes** should only appear under a **MAUI** section.
- **Do not mention** documentation-only changes.
- **Do not mention** infrastructure-only changes (CI/CD, pipeline, packaging).
- **Do not mention** unit test or integration test changes.
- **Do not mention** the specific prerelease version a change was made in.
- **Do not mention** these instructions in the output document.

#### Organizing sections

Group changes into logical sections. The sections below are listed in the **required order** — always present them in this order (use only those that have relevant entries):

1. **C# Language Support** — General C# language features, completions, diagnostics, refactorings, code fixes, etc. Changes from `dotnet/roslyn` that are not Razor-specific go here.
2. **Performance** — Notable performance improvements from any component.
3. **Razor** — All changes from `dotnet/razor` PRs and Razor-related features.
4. **Debugging** — Debugger improvements and fixes.
5. **MAUI** — Changes related to `xamlTools` or MAUI features.
6. **Editor Experience** — UX improvements in the extension itself (project context, settings, commands, etc.).

Within each section, lead with new features and improvements, then list fixes.

#### Writing style

- Write in a user-facing tone: describe **what changed for the user**, not internal implementation details.
- Be concise but informative. Each item should be 1-2 sentences.
- Where a change fixes a user-visible bug, describe the symptom that was fixed.
- Where a change adds a new feature, describe what users can now do.
- Use present tense (e.g., "The extension now supports..." not "Added support for...").
- Link to the relevant PR from `dotnet/vscode-csharp` for each item (not the upstream Roslyn/Razor PR).

### Step 5: Create a PR against the release branch

The release notes are delivered as a PR that modifies `CHANGELOG.md` on the `release` branch. This inserts the generated notes as a new version section at the top of the changelog.

#### Prerequisites: Install and authenticate the GitHub CLI

If `gh` is not installed, install it first:

```bash
# macOS
brew install gh

# Windows
winget install --id GitHub.cli

# Linux (Debian/Ubuntu)
sudo apt install gh
```

Verify installation and authenticate if needed:

```bash
gh --version
gh auth status || gh auth login
```

#### Create the branch, commit, and PR

1. **Stash any local changes** to avoid conflicts:

```bash
git stash --include-untracked
```

2. **Create a new branch** directly from the remote `release` branch:

```bash
git fetch origin release
git checkout -b changelog/v2.<VERSION> origin/release
```

If a conflicting branch name exists (e.g., a stale `changelog` branch), delete it first with `git branch -D <conflicting-branch>`.

3. **Edit `CHANGELOG.md`** — insert the generated release notes as a new `# 2.<VERSION>.x` section immediately after the `## Known Issues` block and before the previous release section. The format should be:

```markdown
# 2.<VERSION>.x

<generated release notes content>

# 2.<PREVIOUS_VERSION>.x
```

4. **Commit and push**:

```bash
git add CHANGELOG.md
git commit -m "Release notes for version 2.<VERSION>.x"
git push -u origin changelog/v2.<VERSION>
```

5. **Create the PR** targeting the `release` branch. Write the PR body to a temp file first to avoid shell quoting issues with markdown content:

```bash
# Write PR body to a temp file (markdown with backticks, angle brackets, etc.)
cat > /tmp/pr-body.md << 'PRBODY'
<PR body content here>
PRBODY

gh pr create \
--repo dotnet/vscode-csharp \
--base release \
--title "Release notes for version 2.<VERSION>.x" \
--body-file /tmp/pr-body.md

rm /tmp/pr-body.md
```

> **Important**: Use `--body-file` instead of `--body` because the PR body contains markdown with backticks, angle brackets, and other characters that break shell quoting. Also use `--repo dotnet/vscode-csharp` to ensure the PR is created on the correct repository even if the git remote uses an older URL.

6. **Return to the original branch** and restore stashed changes:

```bash
git checkout main
git stash pop
```

#### PR conventions

- **Target branch**: `release` (not `main`)
- **Title**: `Release notes for version 2.<VERSION>.x`
- **Body**: A brief summary of the key themes (e.g., "This update includes improvements to reliability, diagnostics tooling, language server performance, and Razor editing."). Always use `--body-file` to avoid shell quoting issues.
- **Only `CHANGELOG.md` should be modified** in the PR.

## Example

For a release at version `2.130`, using CHANGELOG sections `2.121.x`, `2.122.x`, and `2.123.x`, the PR would insert a section like this into `CHANGELOG.md` on the `release` branch:

```markdown
# 2.130.x

This update brings significant improvements to reliability, diagnostics tooling,
language server performance, and Razor editing.

## Reliability

### Improved error reporting when the language server encounters an error

The experience when the language server crashes has been significantly improved.
Now, a single consolidated notification is shown with a "Report Issue" button
that opens the issue reporter with logs pre-filled. Server crashes can also
trigger an automatic restart. ([vscode-csharp#8982](https://github.com/dotnet/vscode-csharp/pull/8982))

## Performance

### Balanced source generator execution (default)

Source generator execution now defaults to **Balanced** mode, running only on
file save, build, or explicit command rather than every keystroke. Use the
`dotnet.server.sourceGeneratorExecution` setting to switch back to `Automatic`
if needed. ([vscode-csharp#8970](https://github.com/dotnet/vscode-csharp/pull/8970))

## Razor

### Formatting fixes

- Fixed formatting of multiline `@if` statements, ternary expressions, and
wrapped CSS. ([razor#12786](https://github.com/dotnet/razor/pull/12786))
- Fixed indentation after complete tags. ([razor#12784](https://github.com/dotnet/razor/pull/12784))
```

## Notes

- This skill works best with a model that can follow links and synthesize information from PRs and issues (e.g., Claude Opus).
- If the CHANGELOG on the prerelease branch is not yet up to date, the agent should note this and work with whatever is available.
- The agent should use `fetch_webpage` to follow GitHub PR links and gather details.
- If `gh` authentication fails or the user doesn't have push access, fall back to creating the branch locally and instruct the user to open the PR manually.
14 changes: 7 additions & 7 deletions .github/skills/update-razor-version/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ Update the `defaults.razor` field in `package.json`:
}
```

### Step 4: Run gulp updateRazorVersion
### Step 4: Run updateRazorVersion

This step acquires the new Razor extension package and ensures it is in the proper feeds:

```powershell
gulp updateRazorVersion
npm run updateRazorVersion
```

This task:
Expand All @@ -97,7 +97,7 @@ This task:

### Step 5: Get the Previous Razor Commit SHA

The commit SHAs are stored in the `.nuspec` files inside the downloaded NuGet packages. After running `gulp updateRazorVersion`, the new version's package will be cached locally, but you need to explicitly download the old version to get its commit SHA.
The commit SHAs are stored in the `.nuspec` files inside the downloaded NuGet packages. After running `npm run updateRazorVersion`, the new version's package will be cached locally, but you need to explicitly download the old version to get its commit SHA.

**To get the old version's commit SHA:**

Expand All @@ -119,7 +119,7 @@ The commit SHAs are stored in the `.nuspec` files inside the downloaded NuGet pa

### Step 6: Get the New Razor Commit SHA

After running `gulp updateRazorVersion`, the new version's package is already cached. Extract the commit SHA:
After running `npm run updateRazorVersion`, the new version's package is already cached. Extract the commit SHA:

```powershell
Get-Content "C:\Users\<username>\source\repos\vscode-csharp\out\.nuget\microsoft.visualstudiocode.razorextension\<new-version>\microsoft.visualstudiocode.razorextension.nuspec" | Select-String -Pattern "commit"
Expand Down Expand Up @@ -228,7 +228,7 @@ For updating from `10.0.0-preview.26075.11` to `10.0.0-preview.26081.1`:
1. Discover latest version via `az pipelines build list` (or use a provided version)
2. Branch: `update/razor-10-0-0-preview-26081-1`
3. package.json change: `"razor": "10.0.0-preview.26081.1"`
4. Run `gulp updateRazorVersion`
4. Run `npm run updateRazorVersion`
5. Find old commit from nuspec for version `10.0.0-preview.26075.11`
6. Find new commit from nuspec for version `10.0.0-preview.26081.1`
7. Run pr-finder in razor repo
Expand All @@ -249,7 +249,7 @@ See [PR #8914](https://github.com/dotnet/vscode-csharp/pull/8914) as an example

## Troubleshooting

### Authentication Issues with gulp updateRazorVersion
### Authentication Issues with updateRazorVersion

If you encounter authentication errors:
1. Install Azure Artifacts Credential Provider
Expand All @@ -267,7 +267,7 @@ Ensure:

The commit SHAs are embedded in the nuspec files inside the downloaded NuGet packages:

1. After running `gulp updateRazorVersion`, packages are cached in `out/.nuget/`
1. After running `npm run updateRazorVersion`, packages are cached in `out/.nuget/`
2. To get the old version's commit, you may need to explicitly download it first:
```powershell
dotnet restore "msbuild\server" /p:PackageName=Microsoft.VisualStudioCode.RazorExtension /p:PackageVersion=<old-version> --interactive
Expand Down
14 changes: 7 additions & 7 deletions .github/skills/update-roslyn-version/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ Update the `defaults.roslyn` field in `package.json`:
}
```

### Step 3: Run gulp updateRoslynVersion
### Step 3: Run updateRoslynVersion

This step acquires the new Roslyn packages and ensures they are in the proper feeds:

```powershell
gulp updateRoslynVersion
npm run updateRoslynVersion
```

This task:
Expand All @@ -62,7 +62,7 @@ This task:

### Step 4: Get the Previous Roslyn Commit SHA

The commit SHAs are stored in the `.nuspec` files inside the downloaded NuGet packages. After running `gulp updateRoslynVersion`, the new version's package will be cached locally, but you need to explicitly download the old version to get its commit SHA.
The commit SHAs are stored in the `.nuspec` files inside the downloaded NuGet packages. After running `npm run updateRoslynVersion`, the new version's package will be cached locally, but you need to explicitly download the old version to get its commit SHA.

**To get the old version's commit SHA:**

Expand All @@ -82,7 +82,7 @@ The commit SHAs are stored in the `.nuspec` files inside the downloaded NuGet pa

### Step 5: Get the New Roslyn Commit SHA

After running `gulp updateRoslynVersion`, the new version's package is already cached. Extract the commit SHA:
After running `npm run updateRoslynVersion`, the new version's package is already cached. Extract the commit SHA:

```powershell
Get-Content "C:\Users\<username>\source\repos\vscode-csharp\out\.nuget\roslyn-language-server.osx-arm64\<new-version>\roslyn-language-server.osx-arm64.nuspec" | Select-String -Pattern "commit"
Expand Down Expand Up @@ -183,7 +183,7 @@ For updating from `5.4.0-2.26077.7` to `5.5.0-2.26080.10`:
4. Find new commit from package metadata for version `5.5.0-2.26080.10`
5. Run pr-finder in roslyn repo
6. Update CHANGELOG.md with the output
7. Run `gulp updateRoslynVersion`
7. Run `npm run updateRoslynVersion`
8. Create PR titled "Update roslyn to 5.5.0-2.26080.10"
9. Update changelog with PR number

Expand All @@ -198,7 +198,7 @@ See [PR #8941](https://github.com/dotnet/vscode-csharp/pull/8941) as an example

## Troubleshooting

### Authentication Issues with gulp updateRoslynVersion
### Authentication Issues with updateRoslynVersion

If you encounter authentication errors:
1. Install Azure Artifacts Credential Provider
Expand All @@ -216,7 +216,7 @@ Ensure:

The commit SHAs are embedded in the nuspec files inside the downloaded NuGet packages:

1. After running `gulp updateRoslynVersion`, packages are cached in `out/.nuget/`
1. After running `npm run updateRoslynVersion`, packages are cached in `out/.nuget/`
2. To get the old version's commit, you may need to explicitly download it first:
```powershell
dotnet restore "msbuild\server" /p:PackageName=roslyn-language-server.osx-arm64 /p:PackageVersion=<old-version> --interactive
Expand Down
Loading
Loading