Microsoft.VisualStudio.Threading
                              
                            
                                17.11.19-preview
                            
                        
                            
                                
                                
                                    Prefix Reserved
                                
                            
                    See the version list below for details.
dotnet add package Microsoft.VisualStudio.Threading --version 17.11.19-preview
NuGet\Install-Package Microsoft.VisualStudio.Threading -Version 17.11.19-preview
<PackageReference Include="Microsoft.VisualStudio.Threading" Version="17.11.19-preview" />
<PackageVersion Include="Microsoft.VisualStudio.Threading" Version="17.11.19-preview" />
<PackageReference Include="Microsoft.VisualStudio.Threading" />
paket add Microsoft.VisualStudio.Threading --version 17.11.19-preview
#r "nuget: Microsoft.VisualStudio.Threading, 17.11.19-preview"
#:package Microsoft.VisualStudio.Threading@17.11.19-preview
#addin nuget:?package=Microsoft.VisualStudio.Threading&version=17.11.19-preview&prerelease
#tool nuget:?package=Microsoft.VisualStudio.Threading&version=17.11.19-preview&prerelease
Microsoft.VisualStudio.Threading
Async synchronization primitives, async collections, TPL and dataflow extensions. The JoinableTaskFactory allows synchronously blocking the UI thread for async work. This package is applicable to any .NET application (not just Visual Studio).
Features
- Async versions of many threading synchronization primitives
AsyncAutoResetEventAsyncBarrierAsyncCountdownEventAsyncManualResetEventAsyncReaderWriterLockAsyncSemaphoreReentrantSemaphore
 - Async versions of very common types
AsyncEventHandlerAsyncLazy<T>AsyncLazyInitializerAsyncLocal<T>AsyncQueue<T>
 - Await extension methods
- Await on a 
TaskSchedulerto switch to it. Switch to a background thread withawait TaskScheduler.Default; - Await on a 
Taskwith a timeout - Await on a 
Taskwith cancellation 
 - Await on a 
 JoinableTaskFactorythat allows you to schedule asynchronous or synchronous work that does not deadlock with the UI thread even when the UI thread needs to synchronously block on the result.
| Product | Versions Compatible and additional computed target framework versions. | 
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net6.0-windows7.0 is compatible. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. | 
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. | 
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. | 
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. | 
| MonoAndroid | monoandroid was computed. | 
| MonoMac | monomac was computed. | 
| MonoTouch | monotouch was computed. | 
| Tizen | tizen40 was computed. tizen60 was computed. | 
| Xamarin.iOS | xamarinios was computed. | 
| Xamarin.Mac | xamarinmac was computed. | 
| Xamarin.TVOS | xamarintvos was computed. | 
| Xamarin.WatchOS | xamarinwatchos was computed. | 
- 
                                                    
.NETFramework 4.7.2
- Microsoft.Bcl.AsyncInterfaces (>= 6.0.0)
 - Microsoft.VisualStudio.Threading.Analyzers (>= 17.11.19-preview)
 - Microsoft.VisualStudio.Validation (>= 17.8.8)
 - Microsoft.Win32.Registry (>= 5.0.0)
 - System.Memory (>= 4.5.5)
 - System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
 - System.Threading.Tasks.Extensions (>= 4.5.4)
 
 - 
                                                    
.NETStandard 2.0
- Microsoft.Bcl.AsyncInterfaces (>= 6.0.0)
 - Microsoft.VisualStudio.Threading.Analyzers (>= 17.11.19-preview)
 - Microsoft.VisualStudio.Validation (>= 17.8.8)
 - Microsoft.Win32.Registry (>= 5.0.0)
 - System.Memory (>= 4.5.5)
 - System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
 - System.Threading.Tasks.Extensions (>= 4.5.4)
 
 - 
                                                    
net6.0
- Microsoft.VisualStudio.Threading.Analyzers (>= 17.11.19-preview)
 - Microsoft.VisualStudio.Validation (>= 17.8.8)
 
 - 
                                                    
net6.0-windows7.0
- Microsoft.VisualStudio.Threading.Analyzers (>= 17.11.19-preview)
 - Microsoft.VisualStudio.Validation (>= 17.8.8)
 
 
NuGet packages (178)
Showing the top 5 NuGet packages that depend on Microsoft.VisualStudio.Threading:
| Package | Downloads | 
|---|---|
| 
                                                        
                                                            Microsoft.VisualStudio.Utilities
                                                        
                                                            
                                                         A member of the Visual Studio SDK  | 
                                                    |
| 
                                                        
                                                            Microsoft.VisualStudio.Text.Data
                                                        
                                                            
                                                         Microsoft® Visual Studio® Editor Platform  | 
                                                    |
| 
                                                        
                                                            Microsoft.VisualStudio.Shell.Framework
                                                        
                                                            
                                                         A member of the Visual Studio SDK  | 
                                                    |
| 
                                                        
                                                            Microsoft.VisualStudio.CoreUtility
                                                        
                                                            
                                                         Microsoft® Visual Studio® Editor Platform  | 
                                                    |
| 
                                                        
                                                            Microsoft.VisualStudio.Shell.15.0
                                                        
                                                            
                                                         A member of the Visual Studio SDK  | 
                                                    
GitHub repositories (91)
Showing the top 20 popular GitHub repositories that depend on Microsoft.VisualStudio.Threading:
| Repository | Stars | 
|---|---|
| 
                                                        
                                                            microsoft/semantic-kernel
                                                        
                                                         
                                                            Integrate cutting-edge LLM technology quickly and easily into your apps
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            netchx/netch
                                                        
                                                         
                                                            A simple proxy client
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            Flow-Launcher/Flow.Launcher
                                                        
                                                         
                                                            :mag: Quick file search & app launcher for Windows with community-made plugins
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            gitextensions/gitextensions
                                                        
                                                         
                                                            Git Extensions is a standalone UI tool for managing git repositories. It also integrates with Windows Explorer and Microsoft Visual Studio (2015/2017/2019).
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            stride3d/stride
                                                        
                                                         
                                                            Stride (formerly Xenko), a free and open-source cross-platform C# game engine.
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            dotnet/winforms
                                                        
                                                         
                                                            Windows Forms is a .NET UI framework for building Windows desktop applications.
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            microsoft/perfview
                                                        
                                                         
                                                            PerfView is a CPU and memory performance-analysis tool
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            HJLebbink/asm-dude
                                                        
                                                         
                                                            Visual Studio extension for assembly syntax highlighting and code completion in assembly files and the disassembly window
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            VsVim/VsVim
                                                        
                                                         
                                                            Vim Emulator Plugin for Visual Studio 2015+ 
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            Ourpalm/ILRuntime
                                                        
                                                         
                                                            Pure C# IL Intepreter Runtime, which is fast and reliable for scripting requirement on enviorments, where jitting isn't possible. 
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            roslynpad/roslynpad
                                                        
                                                         
                                                            A cross-platform C# editor based on Roslyn and AvalonEdit
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            github/VisualStudio
                                                        
                                                         
                                                            GitHub Extension for Visual Studio
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            chocolatey/ChocolateyGUI
                                                        
                                                         
                                                            A delicious GUI for Chocolatey
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            microsoft/VSSDK-Extensibility-Samples
                                                        
                                                         
                                                            Samples for building your own Visual Studio extensions
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            dotnet/project-system
                                                        
                                                         
                                                            The .NET Project System for Visual Studio
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            microsoft/dotnet-apiport
                                                        
                                                         
                                                            This repo contains .NET Portability Analyzer (VSIX and Console) libraries and tools
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            dotnetcore/FlubuCore
                                                        
                                                         
                                                            A cross platform build and deployment automation system for building projects and executing deployment scripts using C# code.
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            icsharpcode/CodeConverter
                                                        
                                                         
                                                            Convert code from C# to VB.NET and vice versa using Roslyn
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            aspnet/Razor
                                                        
                                                         
                                                            [Archived] Parser and code generator for CSHTML files used in view pages for MVC web apps. Project moved to https://github.com/aspnet/AspNetCore
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            microsoft/MIEngine
                                                        
                                                         
                                                            The Visual Studio MI Debug Engine ("MIEngine") provides an open-source Visual Studio Debugger extension that works with MI-enabled debuggers such as gdb and lldb. 
                                                         
                                                     | 
                                                    
| Version | Downloads | Last Updated | 
|---|---|---|
| 17.14.15 | 892,794 | 5/14/2025 | 
| 17.14.2-alpha | 1,004 | 3/12/2025 | 
| 17.13.61 | 663,459 | 3/17/2025 | 
| 17.13.2 | 556,516 | 2/12/2025 | 
| 17.12.19 | 1,530,812 | 11/12/2024 | 
| 17.11.20 | 1,788,111 | 8/13/2024 | 
| 17.11.19-preview | 739 | 7/3/2024 | 
| 17.10.48 | 1,691,020 | 5/1/2024 | 
| 17.10.41 | 95,261 | 5/21/2024 | 
| 17.10.12-preview | 994 | 4/23/2024 | 
| 17.9.28 | 1,135,961 | 2/7/2024 | 
| 17.9.1-alpha | 174,065 | 12/4/2023 | 
| 17.8.14 | 1,044,344 | 11/14/2023 | 
| 17.7.35 | 284,441 | 11/17/2023 | 
| 17.7.30 | 957,878 | 8/10/2023 | 
| 17.7.1-preview | 921 | 7/28/2023 | 
| 17.6.40 | 2,305,637 | 5/16/2023 | 
| 17.5.22 | 878,394 | 2/2/2023 | 
| 17.5.21 | 67,230 | 3/3/2023 | 
| 17.5.10-alpha | 14,467 | 1/5/2023 | 
| 17.4.33 | 194,469 | 1/3/2023 | 
| 17.4.27 | 6,092,829 | 11/9/2022 | 
| 17.3.48 | 160,645 | 10/21/2022 | 
| 17.3.44 | 709,283 | 8/9/2022 | 
| 17.3.1-alpha | 5,236 | 7/14/2022 | 
| 17.2.32 | 787,607 | 5/6/2022 | 
| 17.2.20-alpha | 8,706 | 4/26/2022 | 
| 17.1.46 | 2,204,841 | 2/17/2022 | 
| 17.0.64 | 1,339,071 | 11/8/2021 | 
| 17.0.63 | 1,277,341 | 9/23/2021 | 
| 17.0.46-alpha | 123,395 | 9/20/2021 | 
| 17.0.32-alpha | 933,890 | 8/11/2021 | 
| 17.0.26-alpha | 193,620 | 7/19/2021 | 
| 17.0.17-alpha | 343,491 | 6/17/2021 | 
| 17.0.15-alpha | 67,030 | 6/1/2021 | 
| 17.0.13-alpha | 4,286 | 5/17/2021 | 
| 16.10.56 | 2,225,367 | 5/27/2021 | 
| 16.10.51-alpha | 5,349 | 6/17/2021 | 
| 16.9.60 | 1,625,593 | 3/11/2021 | 
| 16.9.54 | 82,471 | 3/3/2021 | 
| 16.9.51 | 63,463 | 11/5/2021 | 
| 16.9.45-alpha | 3,077 | 1/15/2021 | 
| 16.8.55 | 1,868,465 | 11/5/2020 | 
| 16.8.51 | 223,286 | 10/27/2020 | 
| 16.8.50 | 6,717 | 10/23/2020 | 
| 16.7.56 | 1,687,265 | 9/2/2020 | 
| 16.7.54 | 71,505 | 7/31/2020 | 
| 16.6.13 | 1,043,570 | 4/4/2020 | 
| 16.5.132 | 253,956 | 2/10/2020 | 
| 16.5.124-alpha | 1,616 | 12/20/2019 | 
| 16.5.119-alpha | 1,544 | 12/19/2019 | 
| 16.5.108-alpha | 3,045 | 12/13/2019 | 
| 16.4.45 | 301,170 | 1/21/2020 | 
| 16.4.43 | 138,580 | 12/19/2019 | 
| 16.4.39 | 1,633 | 12/19/2019 | 
| 16.4.33 | 512,563 | 11/16/2019 | 
| 16.4.16 | 274,864 | 10/2/2019 | 
| 16.3.59 | 2,193 | 10/2/2019 | 
| 16.3.52 | 625,326 | 9/4/2019 | 
| 16.3.13 | 168,867 | 8/2/2019 | 
| 16.3.1-alpha | 11,952 | 6/27/2019 | 
| 16.0.102 | 2,491,709 | 2/5/2019 | 
| 16.0.96-beta | 23,608 | 12/21/2018 | 
| 16.0.82-beta | 11,524 | 12/19/2018 | 
| 15.8.209 | 481,462 | 12/21/2018 | 
| 15.8.192 | 419,823 | 12/1/2018 | 
| 15.8.168 | 200,544 | 9/22/2018 | 
| 15.8.145 | 50,472 | 8/25/2018 | 
| 15.8.132 | 657,229 | 7/13/2018 | 
| 15.8.122 | 144,173 | 7/10/2018 | 
| 15.8.99-rc | 26,336 | 6/15/2018 | 
| 15.8.95-rc | 2,140 | 6/7/2018 | 
| 15.8.81-beta | 2,405 | 5/15/2018 | 
| 15.8.72-beta | 2,145 | 5/11/2018 | 
| 15.8.47-beta | 1,933 | 4/26/2018 | 
| 15.8.46-beta | 2,543 | 4/25/2018 | 
| 15.7.23 | 3,673 | 7/6/2018 | 
| 15.7.21 | 4,189 | 6/15/2018 | 
| 15.7.18 | 29,482 | 5/9/2018 | 
| 15.7.17 | 55,442 | 4/27/2018 | 
| 15.7.15-preview | 2,066 | 4/26/2018 | 
| 15.6.56 | 46,064 | 4/26/2018 | 
| 15.6.46 | 104,135 | 3/1/2018 | 
| 15.6.44 | 4,349 | 2/24/2018 | 
| 15.6.31 | 562,155 | 2/15/2018 | 
| 15.6.11-beta | 11,305 | 12/6/2017 | 
| 15.5.32 | 133,024 | 2/1/2018 | 
| 15.5.24 | 42,768 | 12/5/2017 | 
| 15.5.13-beta | 16,700 | 8/21/2017 | 
| 15.5.11-beta | 5,135 | 8/2/2017 | 
| 15.5.5-beta | 2,063 | 7/31/2017 | 
| 15.4.4 | 259,330 | 8/21/2017 | 
| 15.3.83 | 103,811 | 8/8/2017 | 
| 15.3.35 | 14,490 | 7/11/2017 | 
| 15.3.23 | 689,903 | 5/19/2017 | 
| 15.3.20 | 701,383 | 5/3/2017 | 
| 15.2.5 | 14,049 | 6/28/2017 | 
| 15.0.240 | 878,989 | 1/30/2017 | 
| 15.0.116-pre | 2,125 | 1/11/2017 | 
| 15.0.109-pre | 16,962 | 10/13/2016 | 
| 15.0.83-pre | 188,100 | 8/31/2016 | 
| 15.0.49-pre | 2,687 | 8/16/2016 | 
| 15.0.20-pre | 78,695 | 3/30/2016 | 
| 15.0.18-pre | 21,493 | 3/24/2016 | 
| 14.1.131 | 405,338 | 4/7/2016 | 
| 14.1.114 | 66,411 | 11/7/2015 | 
| 14.1.111 | 592,091 | 11/7/2015 | 
| 14.0.51107 | 10,085 | 11/7/2015 | 
| 14.0.51103 | 4,041 | 11/7/2015 | 
| 14.0.50702 | 239,584 | 7/20/2015 | 
| 14.0.50522-pre | 8,244 | 6/17/2015 | 
| 14.0.50417-pre | 6,450 | 4/29/2015 | 
| 12.2.0 | 38,943 | 12/17/2015 | 
| 12.0.0 | 37,366 | 12/17/2015 |