Async Targeting Pack for Visual Studio 2012 released
Update (Feb 2013): Late last year my colleagues published a new version of the Async Targeting Pack, titled "Microsoft.Bcl.Async". It adds support for Windows Phone 7.5 and the Portable Class Libraries.
[More info on the BCL blog]
[NuGet page for the Microsoft.Bcl.Async package]
Original post:
One of the things I have been working on over the past year or so is the end-to-end experience with Asynchronous Programming in the .NET Framework. This is a very large effort involving dozens of people. Today I'd like to advertise one component of this experience we have recently released:
The Async Targeting Pack for Visual Studio 2012 is now available for .NET 4 and Silverlight 5.
The Async Targeting Pack (available via NuGet) allows Visual Studio 2012 to use the new async / await language features in projects that target .NET 4.0 and Silverlight 5.
You require the Pack if you need to target .NET 4.0 and cannot upgrade to .NET 4.5, or if you are targeting Silverlight 5, and if you want to use Visual Studio 2012. The Pack contains the API support necessary to use the 'async' and 'await' keywords, as well as a set of Task-based adapter APIs that allow using some of the existing asynchronous APIs with the new language keywords. The Pack also addresses an incompatibility between the C# and Visual Basic compilers in Visual Studio 2012 and the DLLs that shipped with the Async CTP for Visual Studio 2010.
Async Targeting Pack for Visual Studio 2012 installation and instructions:
Enjoy!
Comments
Гм, это прикол такой ? Оно и так по умолчанию включено в среде, если система мультипроцессорная. Надо же, больше года пользуюсь, как на VS2005 перешёл, а оказывается это тайна :-DСм. Tools\Options\Projects and Solutions\Build and Run\maximum number of palerlal project builds
Your comment is about enabling using all your system's CPU cores while compiling/building your solution in Visual Studio. The Async Targeting Pack described here is about using the async/await language features introduced with .NET 4.5 and Visual Studio 2012 within software that is targeted to run on down-level platforms (.NET 4.0, Silverlight 5). These are two very different things. :)
Does this clarify things?
Sounds great, you have some example code or chart describing theese features?
* http://msdn.microsoft.com/en-us/vstudio/async.aspx
* http://msdn.microsoft.com/en-us/magazine/jj133817.aspx
* http://www.google.com/search?q=async+await+c%23
:)
Post new comment