I have created PCL with methods which use Tasks from TPL.
For this I have added nuget package Microsoft.BCL to PCL.
Everything compiles correctly but in runtime I got the following error:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
var tcs = new TaskCompletionSource<string>();
Are Tasks supported at PCL with will be called from Android/Monotouch?
If yes what components/nuget packages should I use.
ps: code is tested under Visual Studio (not Xamarin Studio)