Microsoft.VisualStudio.Threading.Only (17.14.15)

Published 2026-09-09 02:38:19 +03:30 by kayer

Installation

dotnet nuget add source --name kayer --username your_username --password your_token 
dotnet add package --source kayer --version 17.14.15 Microsoft.VisualStudio.Threading.Only

About this package

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).

  This package contains only the library, without a dependency on the analyzers.
  Use the Microsoft.VisualStudio.Threading package to get the library and analyzers together.

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).

Full documentation.

Features

  • Async versions of many threading synchronization primitives
    • AsyncAutoResetEvent
    • AsyncBarrier
    • AsyncCountdownEvent
    • AsyncManualResetEvent
    • AsyncReaderWriterLock
    • AsyncSemaphore
    • ReentrantSemaphore
  • Async versions of very common types
    • AsyncEventHandler
    • AsyncLazy<T>
    • AsyncLazyInitializer
    • AsyncLocal<T>
    • AsyncQueue<T>
  • Await extension methods
    • Await on a TaskScheduler to switch to it. Switch to a background thread with await TaskScheduler.Default;
    • Await on a Task with a timeout
    • Await on a Task with cancellation
  • JoinableTaskFactory that 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.

Dependencies

ID Version Target Framework
Microsoft.Bcl.AsyncInterfaces 9.0.0 .NETFramework4.7.2
Microsoft.VisualStudio.Validation 17.8.8 .NETFramework4.7.2
Microsoft.Win32.Registry 5.0.0 .NETFramework4.7.2
System.Memory 4.6.0 .NETFramework4.7.2
System.Threading.Tasks.Extensions 4.6.0 .NETFramework4.7.2
System.Runtime.CompilerServices.Unsafe 6.1.0 .NETFramework4.7.2
Microsoft.Bcl.AsyncInterfaces 9.0.0 .NETStandard2.0
Microsoft.VisualStudio.Validation 17.8.8 .NETStandard2.0
Microsoft.Win32.Registry 5.0.0 .NETStandard2.0
System.Memory 4.6.0 .NETStandard2.0
System.Threading.Tasks.Extensions 4.6.0 .NETStandard2.0
System.Runtime.CompilerServices.Unsafe 6.1.0 .NETStandard2.0
Microsoft.VisualStudio.Validation 17.8.8 net8.0
Microsoft.VisualStudio.Validation 17.8.8 net8.0-windows7.0
Details
NuGet
2026-09-09 02:38:19 +03:30
1
Microsoft
1.6 MiB
Assets (2)
Versions (1) View all
17.14.15 2026-09-09