microsoft / microsoft/vscode-dotnettools

[Feature Suggestion] Open all .sln files even without csproj in workspace

Open
#563 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the Issue

When we create a new solution file using the dotnet CLI and try to open that in VS Code, Solution Explorer is not showing.

A blank solution gives more control and flexibility over project configuration and structure.

Steps To Reproduce
  1. Create a new Solution file using the dotnet CLI Command: dotnet new sln.
  2. Open that in VS Code through link in Explorer Open a folder containing a .NET project or solution.
Expected Behavior

Opening a blank Solution should add Solution Explorer tab.

Also, if we can have an option to create a solution with 'Blank Solution' Template will be helpful.

Environment Information
  • OS: Windows 11
  • VS Code Version: 1.82.2
  • Extension: C# Dev Kit v0.4.10

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 blank solution created by dotnet new sln, then follow the VS Code entry point for “Open a folder containing a .NET project or solution.” Done means a blank .sln opens with the Solution Explorer tab; assess separately whether adding a Blank Solution template belongs in the same change.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, vscode
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.