c# - Windows phone issue with OpenStreamForReadAsync -
i'm reading xml file on windows phone 8 below:
windows.storage.storagefolder localfolder = windows.storage.applicationdata.current.localfolder; var file = await localfolder.getfileasync("myxml.xml"); var stream = await file.openstreamforreadasync(); xdocument mydocument = xdocument.load(stream);
it doesn't happen application stuck @ file.openstreamforreadasync. no exception, no return ... nothing. doesn't anything.
Comments
Post a Comment