Search code examples
c#async-ctpportable-class-library

Can the Async CTP be used with a portable library


I was looking to see if the Async CTP with a portable class library?


Solution

  • No. The Async CTP has different dlls for Desktop, Phone, Silverlight 4, and Silverlight 5.

    Hopefully in the near future, all these platforms will support Task (and async) natively, and then portable class libraries would be able to use async.

    Update: Microsoft.Bcl.Async can be installed for portable libraries targeting .NET 4.0/4.5, Windows Store apps, Silverlight 4/5, and Windows Phone 7.5/8.0