Skip to content

Keep Visual Studio extension dependencies current - #12296

Open
Timothee Guerin (timotheeguerin) wants to merge 2 commits into
microsoft:mainfrom
timotheeguerin:chore/vs-extension-dependency-updates
Open

Timothee Guerin (timotheeguerin) wants to merge 2 commits into
microsoft:mainfrom
timotheeguerin:chore/vs-extension-dependency-updates

Conversation

@timotheeguerin

Copy link
Copy Markdown
Member

The Visual Studio extension is missing routine NuGet patch updates, and its dependencies are not covered by scheduled Dependabot checks.

Bring the build tools, .NET Framework reference assemblies, and Newtonsoft.Json reference up to current patches on their existing major versions, and enable weekly NuGet updates scoped to the extension.

MessagePack 3.x and MSBuild 18.x are intentionally excluded because they need separate Visual Studio host-compatibility verification. The extension builds locally on macOS; Windows VSIX packaging and loading remain to be verified.

@microsoft-github-policy-service microsoft-github-policy-service Bot added ide Issues for VS, VSCode, Monaco, etc. eng labels Oct 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

All changed packages have been documented.

  • ✅ typespec-vs
Show changes

typespec-vs - dependencies ✏️

Update Visual Studio extension build tools and NuGet patch dependencies.

Timothee Guerin (timotheeguerin) added a commit that referenced this pull request Oct 16, 2026
NuGet dependency updates can break PR previews when the Azure Artifacts
feed has not yet saved the requested versions from upstream, as seen in
#12296. PR Tools only
publishes the playground, website, and VS Code extension, so it does not
need to restore or build the .NET-based Visual Studio extension.

Skip that work in PR Tools and correct the .NET opt-in parameter so its
`false` default actually disables setup and restore. Publishing retains
its restores and now runs `NuGetAuthenticate@1` first; the E2E job
explicitly preserves its existing .NET setup.
@azure-sdk-automation

azure-sdk-automation Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The Dependabot configuration does not enforce the stated exclusions for host-sensitive major upgrades.

1 open finding
What changed in this PR

Updates Visual Studio extension dependencies and adds scheduled NuGet maintenance.

Changes:

  • Updates reference assemblies, VSSDK build tools, and Newtonsoft.Json within existing major versions.
  • Adds weekly Dependabot checks with a seven-day cooldown.
  • Records the dependency updates in Chronus.
File Description
packages/​typespec-vs/​src/​Microsoft.TypeSpec.VS.csproj Updates three NuGet dependencies.
.github/​dependabot.yml Adds extension-scoped weekly NuGet checks.
.chronus/​changes/​chore-vs-extension-dependency-updates-2026-9-16-11-27-6.md Records dependency changes.

🧠 Review effort: Balanced


💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/dependabot.yml

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

eng ide Issues for VS, VSCode, Monaco, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants