Just installed the Silverligh 5 SDK RC. There is a problem using it inside a project that uses the Async CTP.
Both AsyncCtpLibrary_Silverlight.dll and mscorlib.dll contains the Task type (And some other Task related types) that is sitting in the exact same namespace.
Here is the error msg:
So to solve this ambiguity I changed the Alias on the AsyncCtpLibrary_Silverlight.dll to "AsyncCtp". And then changed the cs file accordingly:
extern alias AsyncCtp;
using AsyncCtp::System.Threading.Tasks;
using AsyncCtp::System.Threading;
This seems to solve the ambiguity problem, but now the "async" keyword is not recognized. These are the related errors:
Is there a way around it, or is it a dead end ?