Cannot use await in Portable Class Library for Win 8 and Win Phone 8
- by Harry Len
I'm attempting to create a Portable Class Library in Visual Studio 2012 to be used for a Windows 8 Store app and a Windows Phone 8 app.
I'm getting the following error:
'await' requires that the type
'Windows.Foundation.IAsyncOperation'
have a suitable GetAwaiter method. Are you missing a using directive
for 'System'?
At this line of…