[MonoDevelop] async/await

Stephen Shaw sshaw at decriptor.com
Thu Aug 16 14:20:39 UTC 2012

On Wed, Aug 15, 2012 at 11:00 PM, ted stockwell <emorning at yahoo.com> wrote:
> 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
> keywords.
> 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?

>From what I understand it should be in there as far as async/await.
Its possible that MonoDevelop doesn't have that profile yet?  I'm not
sure, but maybe its possible to manually edit the csproj files?

Just as a side thought, you can select which .NET framework you are
using in MD, maybe you have to select the mono 2.11.3?

Someone else on this list I'm sure can give you a better answer.

Stephen Shaw

More information about the Monodevelop-list mailing list