Как получить файл с помощью WinRT?
What I want:
получить XML из AppData для использования
What I code
StorageFolder localFolder = Windows.Storage.ApplicationData.Current.LocalFolder;
StorageFile sampleFile = localFolder.GetFileAsync("abc.xml");
What I get
Ошибка: невозможно неявное преобразование типа «Windows.Foundation.IAsyncOperation». на «Windows.Storage.StorageFile»
What I Check
When this method completes successfully, it returns a StorageFile that represents the file.
What I have
Windows 8 Release Preview 64bit;
Visual Studio Express 2012 RC для Windows 8;
C #
Я пишу код в соответствии с документом MSDN. Почему возникает эта ошибка и как ее устранить?