Quantcast
Viewing all articles
Browse latest Browse all 204402

Xamarin.Mac async and await syntax support

Hello,

I'm not able to compile Mamarin.Mac project while I'm using async and await syntax. I'm constantly receiving error:

Error CS1993: Cannot find compiler required types for asynchronous functions support. Are you targeting the wrong framework version? (CS1993)

Is it possible to use async/await syntax in Xamarin.Mac projects? And if yes, could somebody, please, send me compilable example of Xamarin.Mac project with async/await?

Guys from support answered that async/await syntax should work in Xamarin.Mac project type.

Thank you.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>