microsoft / microsoft/vscode-dotnettools

Solution is not open by default in the workspace if it is not in the root folder

Open
#3,136 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-solution bug
Dominant language
No language data
Stars
321
Forks
54
Avg merge
2d 19h
Merged PRs (30d)
2

Description

Describe the Issue

I have a workspace with single solution file with is located in src subfolder. When I open workspace in VS Code it still shows "C# Workspace Dev Mode" in the status bar and I have to use .NET: Switch Solution command which opens solution with no prompt.

Steps To Reproduce
  1. Open workspace that has single solution file located in src subfolder.
Expected Behavior

C# DevKit should open the solution and display it in the status bar.

Environment Information
  • OS: maOS Tachoe 26.5
  • IDE: Code - Insiders
  • C# Dev Kit: v3.20.197

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with a workspace whose single solution is under src, then trace the solution discovery and default-selection path used when the workspace opens. Compare that behavior with the .NET: Switch Solution command; done means the nested solution opens automatically and appears in the status bar without prompting.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.