dotnet / project-system

The .NET Project System for Visual Studio
MIT License
959 stars 385 forks source link

Avoid contention in Roslyn language service #9471

Closed drewnoakes closed 1 month ago

drewnoakes commented 1 month ago

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1881089

Roslyn recently introduced async API for obtaining and releasing "batch" objects for applying updates in https://github.com/dotnet/roslyn/pull/72424.

This change increases the package versions, uses the newer API, fixes some obsolete usages, and gets things building by adding a few package references in order to break the tie on some assembly version conflicts during build.


This is another iteration of https://github.com/dotnet/project-system/pull/9455, which was reverted due to issues it created during signing. Unlike that prior PR, this does not remove Microsoft.VisualStudio.Internal.MicroBuild.Swix.

Microsoft Reviewers: Open in CodeFlow