This package enables Visual Studio 2012 projects to use the new 'async' and 'await' keywords. This package also includes Task-based extension methods that allow using some of the existing asynchronous APIs with the new language keywords. Windows Phone 8 projects can use this package to get access to async extension methods for the networking types.
This package is not supported in Visual Studio 2010, and is only required for projects targeting .NET Framework 4.5 or .NET for Windows Store apps when consuming a library that uses this package. For known issues, please see: https://blogs.msdn.com/b/bclteam/p/asynctargetingpackkb.aspx.
For more information on the async programming model, visit MSDN: https://msdn.microsoft.com/en-us/library/vstudio/hh191443.aspx.
- .NET Framework 4 (with KB2468871)
- Silverlight 4 and 5
- Windows Phone 7.5 and 8
- Portable Class Libraries
See the version list below for details.
Requires NuGet 2.5 or higher.
Install-Package Microsoft.Bcl.Async -Version 1.0.166-beta
dotnet add package Microsoft.Bcl.Async --version 1.0.166-beta
<PackageReference Include="Microsoft.Bcl.Async" Version="1.0.166-beta" />
paket add Microsoft.Bcl.Async --version 1.0.166-beta
- Microsoft.Bcl (>= 1.0.19)