microsoft / microsoft/vscode-dotnettools

[BUG] Remove project from solution Explorer not remove dependency

Open
#882 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the Issue

When i remove 1 project on SolutionExplorer, the other projects who has that project by reference, doesn`t remove the reference

Steps To Reproduce
  1. I have 2 projects ConsoleApp1 have reference to ClassLibrary1
    image
  2. I remove ClassLibrary1 and i have the reference
    image
Expected Behavior

In Visual Studio for Windows, the same case removes the references

image

image
image

Environment Information
  • OS: Windows and Macos
  • Vscode version 1.85.2

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 case in Solution Explorer with ConsoleApp1 referencing ClassLibrary1, then remove ClassLibrary1 and inspect how project-reference removal is handled. Done means the dependent project's reference disappears as it does in Visual Studio for Windows; verify the behavior on the Windows and macOS environments named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, vscode
Domain
build-system, devtools
Issue type
Bug
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.