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

Transitive references do not show all the time in the Dependency node #1423

Closed
davkean opened this issue Feb 1, 2017 · 5 comments
Closed
Assignees
Milestone

Comments

@davkean
Copy link
Member

davkean commented Feb 1, 2017

  1. File -> New ConsoleApp (ConsoleApp)
  2. File -> New Library (A)
  3. File -> New Library (B)
  4. Add reference from ConsoleApp -> A
  5. Add reference from A -> B

Expected:
image
Actual:
image

To show the nodes, I had to restart VS. Even if I closed/reopened solution it didn't work.

@davkean davkean changed the title Inherited references do not show all the time Transitive references do not show all the time Feb 1, 2017
@davkean davkean changed the title Transitive references do not show all the time Transitive references do not show all the time in the Dependency node Feb 1, 2017
@davkean
Copy link
Member Author

davkean commented Feb 1, 2017

Wonder if this related to: #1392

@abpiskunov
Copy link
Contributor

it might be, true. since if you look at the pic B also does not have anything under A project, not only under ConsoleApp A's dependencies are missing. However it might be something else also. I suppose repro steps are the only thing your did? What was the restore status after adding project references? It's is hard to repro in general such things, if you see this (or similar) again , i would really need you to attach a debugger and set break points in http://index/?rightProject=Microsoft.VisualStudio.ProjectSystem.Managed.VS&file=ProjectSystem%5cVS%5cTree%5cDependencies%5cDependenciesSubTreeProviderBase.cs&line=242 (to see if we get any events from CPS) and in http://index/?rightProject=Microsoft.VisualStudio.ProjectSystem.Managed.VS&file=ProjectSystem%5cVS%5cTree%5cDependencies%5cDependenciesGraphProvider.cs&line=209 to see if it is even called for new dependency nodes or updated ones... on my machine i never could see such things , will try again.

@srivatsn
Copy link
Contributor

srivatsn commented Feb 2, 2017

Can you verify if this still repros?

@srivatsn srivatsn added the Bug label Feb 2, 2017
@srivatsn srivatsn added this to the 1.1 milestone Feb 2, 2017
@abpiskunov
Copy link
Contributor

I investigated that further and found a potential issue here , testing a fix right now.

@davkean
Copy link
Member Author

davkean commented Feb 16, 2017

I repro this consistently with the MVC repo:

  1. git clone https://github.com/aspnet/Mvc
  2. cd Mvc
  3. git checkout nimullen/migration.badvs
  4. Open MVC.sln

tag @NTaylorMullen as FYI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants