本文介绍了缺少参考AsyncCtpLibrary.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用的新功能,安装API C#5,但一些奇怪的事情发生了。

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

我能够使用异步关键字,但VS 2010告诉我,无法找到与任务相关的types.Areù失踪提及AsynCtpLibrary.dll?

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 ?"

同时,我看到编译的时候喜欢要求编译器成员System.Runtime.CompilerServices.AsyncMethodBuilder.Create'

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

在哪里AsyncCtpLibrary.dll?它解决我的问题,将其添加到参考?

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

推荐答案

在默认情况下,我认为是在C:\用户\ @用户名@ \文件\微软的Visual Studio异步CTP \样品是的,加上它会解决你的问题。

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

这篇关于缺少参考AsyncCtpLibrary.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-22 14:16