All about Async/Await, System.Threading.Tasks, System.Collections.Concurrent, System.Linq, and more…
We’re happy to announce that you can now download an Async Targeting Pack for Visual Studio 11 that lets you target .NET 4 and Silverlight 5. The included DLLs address the previously discussed issue of the Visual Studio 11 Beta compilers being incompatible with the AsyncCtpLibrary* DLLs from the Async CTP; with this targeting pack, you can use the async/await keywords with Visual Studio 11 Beta to compile for .NET 4 and Silverlight 5. The DLLs are available via a NuGet package, with installation details available here. Enjoy!
Is this going to a fully supported, released extension?
I had more or less planned to skip .NET 4.5. That is because I have customers that are among the 20% of all windows users (meaning they use Windows XP). I figured that when XP is no longer supported by Microsoft (in 2014) there will probably be a .NET 5.0 coming out and I would look at that then.
Can you comment about the current and future support (Go-Live) status of this extension pack?
If upgrading to Visual Studio 11 means that I can have a Non-CTP version of Async for .net 4.0 and Windows XP then I may want to upgrade.
(I will have a fair amount of work to get the upgrade through my management any time soon. I usually have to talk up the new releases, but I have not bothered for this one because of the lack of XP support.)
Another vote for enabling 'Generate task-based operations' when adding a service reference for a .NET 4 project.
This was implemented in the Async CTP for VS2010 via TaskWsdlImportExtension. Can this functionality be added to Async Targettng Pack for VS11?
I hope it is ok to post this here. I had the same problem and wanted to use Tasks to wait for WCF operations. I wrote a simple tool which generates wrapper methods around the BeginXXXX/EndXXXX methods and return a Task.
Perhaps it will help you: wcftaskgen.codeplex.com
@Chris85: Thanks for sharing!