Info
| Version: | 17.14.15 | 
| Author(s): | Microsoft | 
| Last Update: | Wednesday, May 14, 2025 | 
| .NET Fiddle: | Online Example | 
| Project Url: | https://microsoft.github.io/vs-threading/ | 
| NuGet Url: | https://www.nuget.org/packages/Microsoft.VisualStudio.Threading | 
Install
Install-Package Microsoft.VisualStudio.Threading
                        dotnet add package Microsoft.VisualStudio.Threading
                        paket add Microsoft.VisualStudio.Threading
                        
                                Microsoft.VisualStudio.Threading Download (Unzip the "nupkg" after downloading)
                            
                        Dependencies
                                         .NETStandard 2.0 
                                        
                    - Microsoft.VisualStudio.Threading.Analyzers(>= 16.9.45)
- Microsoft.Bcl.AsyncInterfaces(>= 1.1.1)
- Microsoft.VisualStudio.Validation(>= 16.8.33)
- Microsoft.Win32.Registry(>= 4.7.0)
- System.Threading.Tasks.Extensions(>= 4.5.4)
- Microsoft.VisualStudio.Threading.Analyzers(>= 16.9.45)
- Microsoft.Bcl.AsyncInterfaces(>= 1.1.1)
- Microsoft.VisualStudio.Validation(>= 16.8.33)
- Microsoft.Win32.Registry(>= 4.7.0)
- System.Threading.Tasks.Extensions(>= 4.5.4)
- Microsoft.VisualStudio.Threading.Analyzers(>= 16.9.45)
- Microsoft.Bcl.AsyncInterfaces(>= 1.1.1)
- Microsoft.VisualStudio.Validation(>= 16.8.33)
- Microsoft.Win32.Registry(>= 4.7.0)
- System.Threading.Tasks.Extensions(>= 4.5.4)
Tags
 
                
The JoinableTaskFactory allows synchronously blocking the UI thread for async work.
This
package is applicable to any .NET application (not just Visual Studio).