Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing a reference to AsyncCtpLibrary.dll

Tags:

c#

.net

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 ?

like image 429
Freshblood Avatar asked Nov 12 '10 21:11

Freshblood


1 Answers

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

like image 138
as-cii Avatar answered Sep 17 '22 12:09

as-cii