12

I have installed API for using new feature of C# 5 but some strange things happens.

i am able to use async keyword but VS 2010 tell me that "Can not find Task-Related types.Are u missing to a reference to AsynCtpLibrary.dll ?"

And also i see some errors on compile time like " compiler required member 'System.Runtime.CompilerServices.AsyncMethodBuilder.Create'"

Where is AsyncCtpLibrary.dll ? It fix my problem to add it to reference ?

Mat
  • 202,337
  • 40
  • 393
  • 406
Freshblood
  • 6,285
  • 10
  • 59
  • 96

1 Answers1

28

By default I think is in "C:\Users\@user@\Documents\Microsoft Visual Studio Async CTP\Samples" and yes, adding it will fix your problem.

as-cii
  • 12,819
  • 4
  • 41
  • 43