Skip to content

Conversation

@JakeRadMSFT
Copy link
Member

@JakeRadMSFT JakeRadMSFT commented Nov 13, 2025

Updates VS Code settings to support both legacy and current C# extension solution handling.

Adds dotnet.solution.autoOpen while keeping dotnet.defaultSolution for backward compatibility with stable VS Code versions.

This is needed because Aspire repo isn't compatible with WorkspaceBasedDevelopment yet ...

Copilot AI review requested due to automatic review settings November 13, 2025 06:22
@github-actions
Copy link
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 12950

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 12950"

Copilot finished reviewing on behalf of JakeRadMSFT November 13, 2025 06:23
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates VS Code settings to ensure compatibility with both stable and preview versions of the C# extension by adding the new dotnet.solution.autoOpen setting while retaining dotnet.defaultSolution for backward compatibility.

Key changes:

  • Adds dotnet.solution.autoOpen setting pointing to the Aspire.slnx solution file
  • Removes obsolete dotnet.previewSolution-freeWorkspaceMode setting
  • Reorders settings alphabetically for better maintainability

@JakeRadMSFT JakeRadMSFT changed the title Update VS Code settings for improved solution handling Update VS Code settings to new C#DK Settings Nov 13, 2025
@JakeRadMSFT JakeRadMSFT enabled auto-merge (squash) November 13, 2025 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants