Async CTP: The type or namespace name 'await'
-
יום שישי 23 מרץ 2012 18:32
Today I downloaded and "successfully" installed the Async CTP 3.0 on an XP PC (x86) with VS 10 Professional SP1.
I did not have async ctp installed before.
Now Async CTP 3.0 is not listed in the "Add or Remove Programs" panel.
When trying to run any of the samples the async and await keywords generate errors:
The type or namespace name 'async' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'await' could not be found (are you missing a using directive or an assembly reference?)
What can I do ?
--------------------------
hdolder
כל התגובות
-
יום שישי 23 מרץ 2012 18:42Try this go to the soution explorer, then add a reference. You will have to look for it but it's easy to spot as you'll see the word "async" in there somewhere.
JP Cowboy Coders Unite!
-
יום שישי 23 מרץ 2012 19:24
Try this go to the soution explorer, then add a reference. You will have to look for it but it's easy to spot as you'll see the word "async" in there somewhere.
JP Cowboy Coders Unite!
The sample "Boids" already contais a Reference to
C:\Documents and Settings\Herman\My Documents\Microsoft Visual Studio Async CTP\Samples\AsyncCtpLibrary.dll
It seems to me that the problem is with the compiler.
hdolder
-
יום שישי 23 מרץ 2012 19:44Ok so if it already contains a reference when you look at the refence does it have a yellow mark by it? If it does it's telling you it can't find the dll.
JP Cowboy Coders Unite!
-
יום שישי 23 מרץ 2012 20:01
Ok so if it already contains a reference when you look at the refence does it have a yellow mark by it? If it does it's telling you it can't find the dll.
JP Cowboy Coders Unite!
It does NOT have a yellow mark by it.
Te compiler version is
csc.exe 4.0.30319hdolder
-
יום שישי 23 מרץ 2012 20:11See same problem in
http://social.msdn.microsoft.com/Forums/en-US/async/thread/4828ae68-b073-43f7-8ed8-b6359353ce06
reported by
Ido Ran Wednesday, March 21, 2012 7:53 PM
with yet no answers.hdolder
-
יום שישי 23 מרץ 2012 22:05Very good, looks like a potential bug. I think I remember reading that they wanted us to remove the prior version before installing new but could be wrong. I don't know if 64bit and 32bit systems get different versions either.
JP Cowboy Coders Unite!
-
יום ראשון 25 מרץ 2012 17:46בעלים
To diagnose installation issues, you need to report all four version numbers as per this page:
http://blogs.msdn.com/b/lucian/archive/2011/11/01/async-ctp-v3-installation.aspxI wrote another blog post explaining the installation issues further:
http://blogs.msdn.com/b/lucian/archive/2012/03/25/asyncctp-installation-problems-and-vs11.aspx- הוצע כתשובה על-ידי Stephen Toub - MSFTMicrosoft Employee, Moderator יום ראשון 25 מרץ 2012 22:20
- סומן כתשובה על-ידי hdolder יום שני 26 מרץ 2012 00:37