问题描述
我已经安装了最新的Visual Studio异步CTP的Visual Studio 2010(SP1刷新)包从这里:
I have installed the latest Visual Studio Async CTP for Visual Studio 2010 (SP1 Refresh) package from here:http://msdn.microsoft.com/en-gb/vstudio/async.aspx
更新在我的Windows 7的更新列表中显示出来。我没有看到正在安装的任何其他痕迹(即程序列表,注册表)。
The update shows up in my Windows 7 updates list. I do not see any other traces of it being installed (i.e. program list, registry).
然而,当我尝试运行一些Silverlight的演示code(SilverlightOccasionallyConnectedDemo)异步和等待关键字并不认可。我在我的项目的Silverlight项目的AsyncCtpLibrary_Silverlight引用。我使用Silverlight的5测试版SDK。
However, when I try to run some Silverlight demo code (SilverlightOccasionallyConnectedDemo) the async and await keywords are not recognized at all. I have references to the AsyncCtpLibrary_Silverlight in my project Silverlight projects. I am using the Silverlight 5 Beta SDK.
我删除MVC的所有痕迹按照这里的其他帖子,并没有这样的伎俩。
I removed all traces of MVC as per other postings here and that does not do the trick.
我使用Visual Studio premium版本10.0.40219.1 SP1Rel
I am using Visual Studio Premium Version 10.0.40219.1 SP1Rel
特定的错误是:类型或命名空间名称异步找不到
The specific error is: The type or namespace name 'async' could not be found.
推荐答案
卸载KB2615527,KB2635973,KB2549864,请参阅
Uninstall KB2615527, KB2635973, KB2549864, see MSDN
这篇关于的Visual Studio异步CTP的安装不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!