Skip to content

Conversation

@DustinCampbell
Copy link
Member

This cherry-picks the changes from #10024 to the release/dev17.10, since there's interest in these changes for 17.10p2.

`CSharpVirtualDocumentFactory` unnecessarily forces the
`ProjectSnapshotManager` to be created just to see if it contains any
projects. To avoid this, I've added a `TryGetInstance(...)` method that
returns the `ProjectSnapshotManager` only if it has been created.
Then, in `CSharpVirtualDocumentFactory` it avoids force-creating the
`ProjectSnapshotManager` if `TryGetInstance(...)` returns false.
@DustinCampbell DustinCampbell requested a review from a team as a code owner March 4, 2024 21:04
@DustinCampbell DustinCampbell merged commit 69829de into dotnet:release/dev17.10 Mar 4, 2024
@DustinCampbell DustinCampbell deleted the avoid-jtf-run-dev17.10 branch March 4, 2024 22:27
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

Successfully merging this pull request may close these issues.

3 participants