microsoft / microsoft/vscode-dotnettools

Solution explorer not showing dependencies "up the chain"

Open
#310 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

From vscode-csharp created by claudiaregio: dotnet/vscode-csharp#5977

VS Code: 1.80.2
C# Dev Kit: v0.2.100
C#: v2.0.312

Steps to reproduce

  1. Have 2 projects: project A & project B
  2. Make project B a dependency of project A
  3. Install Nuget package to project B
  4. Check if package that was installed for project B shows up as dependency under project A

image

Expected behavior

The dependencies I added (in this case Microsoft.EntityFrameworkCore.SqlServer) to show up under the "StudentEnrollmentDATA" dependency in the first project.

image

Actual behavior

No dependencies are shown under the second project

Additional context

When I manually added the second project as a dependency, I compared it to the code of the guiding repo (https://github.com/trevoirwilliams/StudentEnrollmentApi-NET7/blob/master/StudentEnrollment.Api/StudentEnrollment.Api.csproj) and it matched so I'm not sure if I'm doing something wrong, if there is a bug, or if the symbols in the blue box are trying to indicate an issue? If I am doing something wrong I'm not seeing any other indicator of what it could be

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 with the reproduction steps in the C# Dev Kit Solution Explorer and compare the behavior with the linked vscode-csharp#5977 issue. Confirm that a NuGet package installed in project B is not shown under project A when B is its dependency; done means the transitive dependency appears in the explorer.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, vscode
Domain
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.