Skip to content

Conversation

AArnott
Copy link
Member

@AArnott AArnott commented Mar 11, 2025

This new package has the library, but no analyzers dependency. The analyzers dependency is retained by the original Microsoft.VisualStudio.Threading package, along with a new dependency on the Microsoft.VisualStudio.Threading.Only package.

This allows consumers like StreamJsonRpc to express a dependency on Microsoft.VisualStudio.Threading.Only instead of Microsoft.VisualStudio.Threading in order to prevent its downstream users from having threading analyzers applied automatically, which they may not want.

This new package has the library, but no analyzers dependency.
The analyzers dependency is retained by the original `Microsoft.VisualStudio.Threading` package, along with a new dependency on the `Microsoft.VisualStudio.Threading.Only` package.

This allows consumers like StreamJsonRpc to express a dependency on `Microsoft.VisualStudio.Threading.Only` instead of `Microsoft.VisualStudio.Threading` in order to prevent its downstream users from having threading analyzers applied automatically, which they may not want.
@AArnott AArnott merged commit 764e4bd into main Mar 11, 2025
6 checks passed
@AArnott AArnott deleted the ThreadingOnlyPackage branch March 11, 2025 18:35
@eerhardt eerhardt mentioned this pull request Mar 11, 2025
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants