TPL on PCL of mvvmcross

后端 未结 1 764
时光取名叫无心
时光取名叫无心 2020-12-20 00:57

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 name

相关标签:
1条回答
  • 2020-12-20 01:38

    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

    0 讨论(0)
提交回复
热议问题