NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet, #463 most downloaded on NuGet
Static code analyzer to detect common mistakes or potential issues regarding threading and async coding.
Latest stable
18.12.1
Last release 9 days ago
13 Nov 2026
Ships unpredictably
gaps range from 8 days to 1.1 years
Most releases are documented
notes for 38 of the last 60 stable releases
5 versions withdrawn
withdrawn after publishing
127 years old
117 releases · first in 1900
Drag across the ruler to compare, or tap a release to open it.
Pin System.Memory to 4.5.5 to fix VS 2022 analyzer load failure by Andrew Arnott (@AArnott) with @Copilot in #1612
IDbContextFactory<TContext>.CreateDbContext() alternatives from VSTHRD103 by wertzui (@wertzui) in #1680Full Changelog: v18.7.23...v18.12.1
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
Fix CancellationToken.Combine with 3+ cancelable tokens by Andrew Arnott (@AArnott) in #1443
CancellationToken.Combine with 3+ cancelable tokens by Andrew Arnott (@AArnott) in #1443JoinableTaskFactory.DisableProcessing() by Andrew Arnott (@AArnott) in #1576NoMessagePumpSyncContext..ctor(SynchronizationContext) for Post/Send behaviors by Andrew Arnott (@AArnott) in #1578IPendingExecutionRequestState interface to expose completion state of SingleExecuteProtector by Lifeng Lu (@lifengl) in #1447Full Changelog: v17.14.15...v18.7.23
Fix VSTHRD110 false negative in local functions of async methods by Andrew Arnott (@AArnott) in #1385
build to buildTransitive for analyzer package by Andrew Arnott (@AArnott) in #1434Microsoft.VisualStudio.Threading.Only package by Andrew Arnott (@AArnott) in #1429Full Changelog: v17.13.2...v17.14.15
Fix VSTHRD110 false negative in local functions of async methods by Andrew Arnott (@AArnott) in #1385
Microsoft.VisualStudio.Threading.Only package by Andrew Arnott (@AArnott) in #1429Full Changelog: v17.13.2...v17.14.2-alpha
Get !dumpasync ready for Azure Watson by Andrew Arnott (@AArnott) in #1380
Full Changelog: v17.13.2...v17.13.61
Set version to 17.13 by Matteo Prosperi (@matteo-prosperi) in #1360
No functional changes in this version.
Full Changelog: v17.12.19...v17.13.2
Add AsyncBarrier.SignalAndWait(CancellationToken) overload by Andrew Arnott (@AArnott) in #1330
AsyncBarrier.SignalAndWait(CancellationToken) overload by Andrew Arnott (@AArnott) in #1330JoinableTaskContext.CreateNoOpContext() method by Andrew Arnott (@AArnott) in #1345AsyncLazy<T>.DisposeValueAsync by Andrew Arnott (@AArnott) in #1340JoinableTaskContext.serializedTasks memory leak by Andrew Arnott (@AArnott) in #1346GalleryManifest.xml file by Andrew Arnott (@AArnott) in #1336Full Changelog: v17.11.20...v17.12.19
Stabilize package version by Matteo Prosperi (@matteo-prosperi) in #1326
Full Changelog: v17.11.19-preview...v17.11.20
Bump System.Threading.Tasks.Dataflow from 7.0.0 to 8.0.0 by Dependabot (@dependabot) in #1292
requestId values in ETW events by Andrew Arnott (@AArnott) in #1304AsyncCrossProcessMutex stack size by Andrew Arnott (@AArnott) in #1310AsyncQueue<T> completionFull Changelog: v17.10.48...v17.11.19-preview
Don't package reference inbox assemblies on .NETCoreApp by Viktor Hofer (@ViktorHofer) in #1269
AsyncLazy<T>.SuppressRecursiveFactoryDetection property by Andrew Arnott (@AArnott) in #1265AsyncLazy<T>.DisposeValue() when T : IAsyncDisposable by Andrew Arnott (@AArnott) in #1271Full Changelog: v17.9.28...v17.10.48
Nothing published for this version
Don't package reference inbox assemblies on .NETCoreApp by @ViktorHofer in https://github.com/microsoft/vs-threading/pull/1269
AsyncLazy<T>.SuppressRecursiveFactoryDetection property by @AArnott in https://github.com/microsoft/vs-threading/pull/1265AsyncLazy<T>.DisposeValue() when T : IAsyncDisposable by @AArnott in https://github.com/microsoft/vs-threading/pull/1271Full Changelog: https://github.com/microsoft/vs-threading/compare/v17.9.28...v17.10.12-preview
Make VSTHRD200 ignore DisposeAsyncCore by @MartyIX in https://github.com/microsoft/vs-threading/pull/1238
VSTHRD200 ignore DisposeAsyncCore by @MartyIX in https://github.com/microsoft/vs-threading/pull/1238NoThrowAwaitable() by @AArnott in https://github.com/microsoft/vs-threading/pull/1243?. expressions by @AArnott in https://github.com/microsoft/vs-threading/pull/1242.ConfigureAwait(false) as the first code fix by @AArnott in https://github.com/microsoft/vs-threading/pull/1248AsyncLazy<T>.SuppressRelevance() method by @AArnott in https://github.com/microsoft/vs-threading/pull/1254Full Changelog: https://github.com/microsoft/vs-threading/compare/v17.8.14...v17.9.28
No notable changes besides the version number.
No notable changes besides the version number.
Full Changelog: https://github.com/microsoft/vs-threading/compare/v17.8.14...v17.9.1-alpha
Add AsyncMutex class by @AArnott in https://github.com/microsoft/vs-threading/pull/1223
AsyncMutex class by @AArnott in https://github.com/microsoft/vs-threading/pull/1223AsyncLazy<T>.Dispose() method by @AArnott in https://github.com/microsoft/vs-threading/pull/1218Full Changelog: https://github.com/microsoft/vs-threading/compare/v17.7.35...v17.8.14
Update and restructure README by @AArnott in https://github.com/microsoft/vs-threading/pull/1212
Full Changelog: https://github.com/microsoft/vs-threading/compare/v17.7.30...v17.7.35
Bump Microsoft.VisualStudio.Validation from 17.0.71 to 17.6.11 by @dependabot in https://github.com/microsoft/vs-threading/pull/1172
Full Changelog: https://github.com/microsoft/vs-threading/compare/v17.6.40...v17.7.30
No code changes. Just re-versioning.
No code changes. Just re-versioning.
Full Changelog: https://github.com/microsoft/vs-threading/compare/v17.6.40...v17.7.1-preview
Allow obtaining serializable tokens that represent JoinableTasks by @AArnott in https://github.com/microsoft/vs-threading/pull/1162
Full Changelog: https://github.com/microsoft/vs-threading/compare/v17.5.22...v17.6.40
No shipping changes Full Changelog: https://github.com/microsoft/vs-threading/compare/v17.5.21...v17.5.22
No shipping changes
Full Changelog: https://github.com/microsoft/vs-threading/compare/v17.5.21...v17.5.22
Add CompilationEnd tag to VSTHRD010 analyzer by @AArnott in https://github.com/microsoft/vs-threading/pull/1114
Full Changelog: https://github.com/microsoft/vs-threading/compare/v17.5.10-alpha...v17.5.21
Fix VSTHRD110 failure to handle unobserved tasks in finalizers by @AArnott in https://github.com/microsoft/vs-threading/pull/1097
Full Changelog: https://github.com/microsoft/vs-threading/compare/v17.4.27...v17.5.10-alpha
Fix VSTHRD110 failure to handle unobserved tasks in finalizers by @AArnott in https://github.com/microsoft/vs-threading/pull/1097
Full Changelog: https://github.com/microsoft/vs-threading/compare/v17.4.27...v17.4.33
Adding yml file for OptProf profiling workflow by @mtylerMSFT in https://github.com/microsoft/vs-threading/pull/1066
Full Changelog: https://github.com/microsoft/vs-threading/compare/v17.3.44...v17.4.27
Fix VSTHRD110 failure to handle unobserved tasks in finalizers by @AArnott in https://github.com/microsoft/vs-threading/pull/1097
Full Changelog: https://github.com/microsoft/vs-threading/compare/v17.3.44...v17.3.48
Reduce unnecessary disposing JTF dependencies & task continuations by @lifengl in https://github.com/microsoft/vs-threading/pull/1017
Full Changelog: https://github.com/microsoft/vs-threading/compare/v17.3.1-alpha...v17.3.44
Nothing published for this version
Prevent creating two task waiting chains when joins AsyncLazy. by @lifengl in https://github.com/microsoft/vs-threading/pull/999
Full Changelog: https://github.com/microsoft/vs-threading/compare/v17.2.32...v17.3.1-alpha
The netcoreapp3.1 target in this package adds WindowsDesktop dependencies to match what was already available in the net471 target. To avoid a Windows
The netcoreapp3.1 target in this package adds WindowsDesktop dependencies to match what was already available in the net471 target. To avoid a WindowsDesktop runtime dependency, target net5.0 or later. For .NET 5.0, the WindowsDesktop dependencies are only expressed when targeting in net5.0-windows. See #1033.
SynchronizationContext.GetAwaiter extension methodThis list of changes was auto generated.
This list of changes was auto generated.</details>
Fix a task continuation hang related to project lock. by @lifengl in https://github.com/microsoft/vs-threading/pull/927
ManualResetEvent on AwaitExtensions.WaitForRegistryChangeAsync. by @teo-tsirpanis in https://github.com/microsoft/vs-threading/pull/948Tuple allocation in ToTask(WaitHandle) when CancellationToken cannot be cancelled by @AArnott in https://github.com/microsoft/vs-threading/pull/949Full Changelog: https://github.com/microsoft/vs-threading/compare/v17.0.64...v17.1.46
## Fixes - #906 Unhandled exception in AsyncSemaphore: The LinkedList node does not belong to current LinkedList
### Enhancements: * #907: VSTHRD010 Extend member access analysis to events
## Fixes - #693 .Result after Task.WhenAll raise VSTHRD002 - #485 Trailing period in vs-threading.MembersRequiringMainThread.txt causes compiler hang
## Fixes - #544 JTF.TryExecute may throw NullReferenceException - #456 Structs not being recognized as MembersRequiringMainThread
## Fixes: - #637 VSTHRD114: fires even in the function is annotated as returning nullable Tasks - #772 VSTHRD110 does not trigger when using null-cond
Nothing published for this version
Nothing published for this version
## Fixes * #844 Recover ReentrantSemaphore after JTF throws an exception * #846 Crash the process on unexpected failures when creating a JoinableTask
JoinableTask## Enhancements * #815 Provide a faster but less accurate way to check whether the current task blocking UI thread * #777 VSTHRD110: trigger on Config
Nothing published for this version
## Enhancements * #764 Fix the dumpasync common to handle general ValueTasks. * #776 Improve performance in JoinableTask dependency analysis * #778 Re
ReentrantSemaphoreThis list of changes was auto generated.
This list of changes was auto generated.
Nothing published for this version
Nothing published for this version
This list of changes was auto generated.
DisposeAsync on System.IAsyncDisposableThis list of changes was auto generated.</details>
This list of changes was auto generated.
This list of changes was auto generated.
Changes the dependency on Microsoft.VisualStudio.Validation to a version that is publicly available on nuget.org.
Changes the dependency on Microsoft.VisualStudio.Validation to a version that is publicly available on nuget.org.
This list of changes was auto generated.
AwaitExtensions.ConfigureAwaitForAggregateException extension methodThis list of changes was auto generated.</details>
Nothing published for this version
This list of changes was auto generated.
#641: Convert more analyzers to IOperation <details><summary><b>See More</b></summary>
#642: Document that JoinableTaskCollection purges completed tasks
#634: Clarify AsyncAutoResetEvent.Set() documentation
#627: VSTHRD001 Shows code that does not compile
#624: Fix an AsyncSemaphore regression
#623: Retarget netcoreapp3.0 tests to netcoreapp3.1
#609: Update all analyzers (but stylecop) to latest released version
#610: Get analyzer tests passing on non-English machines
#608: Do not use WithMessage() on tests
#607: Update analyzer test framework
#603: Add InsertPropsValues variable
#601: Fix signing of SosThreadingTools.dll
This list of changes was auto generated.</details>
Nothing published for this version
This list of changes was auto generated.
using await support to ARWL.ReleaserThis list of changes was auto generated.
## Changes: ### Fixes: * #580: Fix logging of mismatched arguments ### Enhancements: * #588: Include WaitAny and WaitAll in VSTHRD002 analysis
This list of changes was auto generated.
This list of changes was auto generated.
This list of changes was auto generated.
#570: Throw synchronously from STMTA if token is precanceled off the main thread <details><summary><b>See More</b></summary>
#572: Defer selecting localized analyzer message till we know the culture
#474: Add VSTHRD201 analyzer to cancel after switching to main thread
#568: Improve performance of VSTHRD003 analyzer
#567: VSTHRD003UseJtfRunAsyncAnalyzer causes performance issues when running on a project with nullable analysis enabled
#566: Fix VSTHRD003 analyzer exception thrown when a method returns a Task from a field defined in another assembly
#484: Remove unused resourcesAcquiredWithinWriteLock field
#558: Avoid C# syntax that's toxic to .NET Native compilers
This list of changes was auto generated.</details>
### Enhancements * #559 Obsolete APIs that exist in BCL * #565: Fix VSTHRD200 when using IAsyncEnumerable * #534 Add nullable ref annotations ### Fixe
This list of changes was auto generated.
This list of changes was auto generated.
One column per quarter.