2
\$\begingroup\$

I am trying to reference the System.Threading.Task assembly. If I am not mistaken, it should be part of mscorlib. But no matter what I do, my project always defaults to the .net 2.0 runtime. Even if I create a brand new XNA 4.0 Windows Phone project, it wants to use the .net 2.0 runtime. Any ideas what I could be missing?

\$\endgroup\$

1 Answer 1

3
\$\begingroup\$

Windows Phone is limited to C# 3.0 and .NET 3.5. You have to use the Task Parallel Library to achieve this.

\$\endgroup\$
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .