Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direct and transitive reference to project causes warning error on dependencies node #5335

Closed
drewnoakes opened this issue Aug 20, 2019 · 3 comments
Assignees
Labels
Feature-Dependency-Node "Dependencies" node in Solution Explorer that display project, binary & package references Triage-Approved Reviewed and prioritized
Milestone

Comments

@drewnoakes
Copy link
Member

drewnoakes commented Aug 20, 2019

Migrated from AB#967428.

Visual Studio Version: 15.9.15 onwards (possibly earlier)

Summary:

If a project references another project both directly and indirectly (transitively) then the direct project reference appears with a warning icon.

Steps to Reproduce:

  1. Create three .NET Standard class library projects
  2. Make ClassLibrary1 reference ClassLibrary2
  3. Make ClassLibrary2 reference ClassLibrary3
  4. Everything looks fine
  5. Add a direct reference from ClassLibrary1 to ClassLibrary3 and save the project
  6. That new dependency appears with a warning. The project builds without error.
    image

Expected Behavior:

No warning.

Actual Behavior:

Warning.

User Impact:

Confusion. Not a very likely scenario as the bug has existed for a long time and we've only just had it reported.

@drewnoakes drewnoakes added Bug Feature-Dependency-Node "Dependencies" node in Solution Explorer that display project, binary & package references labels Aug 20, 2019
@drewnoakes drewnoakes added this to the 16.x milestone Aug 20, 2019
@drewnoakes drewnoakes self-assigned this Aug 20, 2019
@jjmew jjmew added the Triage-Approved Reviewed and prioritized label Jan 10, 2020
@jjmew jjmew modified the milestones: 16.x, 16.6 Jan 10, 2020
@jjmew
Copy link
Contributor

jjmew commented Jan 10, 2020

@drewnoakes It might be good to have @ocallesp help with this one

@drewnoakes
Copy link
Member Author

drewnoakes commented Mar 23, 2020

This should fall out of work I'm doing for #3435. Nope. This doesn't apply to transitive references.

@drewnoakes drewnoakes modified the milestones: 16.6, 16.7 Mar 25, 2020
@drewnoakes
Copy link
Member Author

This is a duplicate of #2510.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature-Dependency-Node "Dependencies" node in Solution Explorer that display project, binary & package references Triage-Approved Reviewed and prioritized
Projects
None yet
Development

No branches or pull requests

3 participants