[MonoDevelop] async/await

ted stockwell emorning at yahoo.com
Thu Aug 16 05:00:57 UTC 2012

Hi All,

I am new to both C# and mono (I've been exclusively a Java developer for
quite a while).  I am interested in both because I want to use C#'s
async/await feature (and I would like to avoid Microsoft products).
My trouble is that I cannot get monodevelop to recognize the async/await
When I hover over the async keyword (which is underlined in red) I get a
message that says "Parser Error: 'asynchronous functions' cannot be used
because it is not part of the C# 4.0 specification".

I have installed version (alpha) of MonoDevelop and version 2.11.3
(alpha) of mono.
I am using Windows XP SP3.

I figure that the source of my problem is that my project's target framework
is set to 'Mono/.Net 4.0' instead of maybe 'Mono/.Net 4.5', but .Net 4.5
does not appear as an option for the target framework.

Am I doing something wrong?  Or is the async/await stuff not available yet?

View this message in context: http://mono.1490590.n4.nabble.com/async-await-tp4655554.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.

More information about the Monodevelop-list mailing list