microsoft / microsoft/vscode-dotnettools

There are no other projects in the solution to add a reference to in Explorer if closing solution in SE view

Open
#2,841 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

There are no other projects in the solution to add a reference to in Explorer if closing solution in SE view.

Image

Image

Steps To Reproduce

1.Create a C# Console App and add any project such as WebApplicationMVC to the less-solution.
2.Close the solution in SE view.
3.In the Explorer, right click the ConsoleApp.csproj or WebApplicationMVC.csproj->Add Project Reference and observe.
4.Compare in Solution Explorer: Open the solution in SE, try to add project reference for the projects again and observe.

Expected Behavior

It is possible to add project references in Explorer.

Environment Information

.NET Install Tool: Pre-release 3.0.0
C# Dev Kit Extension: Pre-release 2.13.9
C# Extension: Pre-release 2.123.34
.NET SDKs:  11.0.100-preview.1.26104.118
VSCode Stable: 1.109.5
Platform: Windows X64 

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 issue in VS Code Explorer with the listed Console App and WebApplicationMVC projects, then compare the Add Project Reference behavior with Solution Explorer when the solution is open. Done means Explorer exposes the other projects as selectable references after the solution is closed in SE view.

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
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.