Handle dangling project references
We support dangling project references in the workspace API, and the ProjectDependencyGraph is only supposed to return references that exist within the project. Therefore, if we add a project, we have to check to make sure we didn't have a dangling reference becoming a real reference, and give inconsistent results. I expect this to be a rare situation in reality so don't want to spend a lot of time optimizing for it, but if it happens this will keep everything in sync.
Showing
想要评论请 注册 或 登录