You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was debugging through `ProjectSnapshotManager` and noticed a couple of
issues:
1. Documents won't be cleared from `ProjectSnapshotManager`'s open
documents on solution close.
2. The algorithm to request tag helpers from OOP has some undesirable
behavior. Essentially, any tag helpers that it had to fetch from OOP
using checksums will be added to the end of the result. That can result
in cases when the `ProjectWorkspaceState` is updated for a project with
exactly the same tag helpers in a different order. This results in
`SequenceEquals(...)` returning false when comparing old and new
`ProjectWorkspaceState` and all of the documents being invalidated.
CI Build:
https://dev.azure.com/dnceng/internal/_build/results?buildId=2668868&view=results
Test Insertion:
https://dev.azure.com/devdiv/DevDiv/_git/VS/pullrequest/621272
Copy file name to clipboardexpand all lines: src/Razor/test/Microsoft.VisualStudio.LanguageServices.Razor.Test/ProjectSystem/ProjectSnapshotManagerTest.cs
+28-1
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ public ProjectSnapshotManagerTest(ITestOutputHelper testOutput)
0 commit comments