Open malylemire1 opened 8 years ago
Just to mention that the same code with AddMetadataReference works fine.
We are removing the reference using the VSProject API, but are not receiving callbacks on any of the VS/project-system hooks for watching imports being changed. Still investigating.
Version Used: Roslyn version is 1.2.2 on vs2015
Steps to Reproduce:
Expected Behavior:
Changes to solution should be applied.
Actual Behavior:
solution.GetChanges(workspace.CurrentSolution).GetProjectChanges().Select(x => x.GetRemovedMetadataReferences());
Returns the actual changes before the call to TryApplyChanges.workspace.CanApplyChange(ApplyChangesKind.RemoveMetadataReference);
Return true.Changes to solution are not applied.