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

Bump VSSDK version #9460

Merged
merged 3 commits into from
May 20, 2024
Merged

Bump VSSDK version #9460

merged 3 commits into from
May 20, 2024

Conversation

drewnoakes
Copy link
Member

@drewnoakes drewnoakes commented May 2, 2024

Fixes #9424

We bump the VSSDK to 17.11. As part of this, we receive warnings to replace AsyncSemaphore with ReentrantSemaphore. This PR includes that recommended change.

Microsoft Reviewers: Open in CodeFlow

@drewnoakes drewnoakes added the Area-Infrastructure Relates to build, test & run infrastructure of this repo. label May 2, 2024
@drewnoakes drewnoakes added this to the 17.11 milestone May 2, 2024
@drewnoakes drewnoakes requested a review from a team as a code owner May 2, 2024 13:38
@drewnoakes
Copy link
Member Author

I think we'll have to revert the Roslyn package bump before we can make this work.

This type has been banned in newer versions of `Microsoft.VisualStudio.Sdk.Analyzers`. Use `ReentrantSemaphore` instead.
@drewnoakes
Copy link
Member Author

The Roslyn PR was reverted. I rebased this on main, fixed a conflict, and force-pushed an update.

I'm going to take another stab at the Roslyn changes, but want to get this in first.

@drewnoakes drewnoakes merged commit a6d5ab4 into dotnet:main May 20, 2024
5 checks passed
@drewnoakes drewnoakes deleted the bump-vssdk branch May 20, 2024 01:38
drewnoakes added a commit to drewnoakes/project-system that referenced this pull request May 24, 2024
Fixes AB#2065632

After updating the VSSDK in dotnet#9460, we converted a bunch of usages of
`AsyncSemaphore` to `ReentrantSemaphore`.

This has caused an issue in hot reload.

The new semaphore class has several modes. We change from disallowing
re-entrancy, so allowing freeform re-entrancy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure Relates to build, test & run infrastructure of this repo.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace occurrences of AsyncSemaphore with JTF-aware semaphore
2 participants