2
votes

I see i can't use TPL in the CORE projects.

Is the PCL doesn't support System.Threading.Tasks? (i checked on profile104 and there is no System.Threading.Tasks namespace, but on profile 131 there is...)

So, is there a way to use mvvmcross with TPL?

Thanks.

1

1 Answers

5
votes

There are several ways to use TPL with portable class libraries.

  1. You can use a profile like 104 and extend it with the BCL AsyncBridge support classes. For more on this see http://channel9.msdn.com/Events/Build/2012/3-004 and the resources. Several people have done this - but I don't know of anyone who's fully documented the process.
  2. You can use a profile like 78 which supports TPL and await/async natively - but this doesn't support WP7.x

This should be much easier when the official Xamarin PCL support is available