microsoft / microsoft/vscode-dotnettools

C# Dev Kit not prompting to open sln

Open
#1,996 0 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

After opening a folder with multiple solution files, it will prompt the first time to pick a solution file. If you click "Do not load solution", it never prompts again. I was expecting it to prompt again in this case.

Here is a gif, some parts are speed up.

Image

Steps To Reproduce
  1. Create a folder that has multiple sln files
  2. Open the folder in C# Dev Kit
  3. Click on "Do not load solution"
  4. Close the folder
  5. Open the same folder
Expected Behavior

I was expecting it to prompt me to select a solution to load.

Environment Information
  • Windows 11
  • Visual Studio Code Version: 1.99.3 (system setup)
  • ms-dotnettools.csdevkit: Version 1.18.25

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

Start by reproducing the behavior in C# Dev Kit with a folder containing multiple .sln files, following the listed steps on Windows 11. Trace how the choice to "Do not load solution" is persisted when the folder closes and reopens. Done means reopening the same folder prompts again to select a solution to load.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, vscode
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.