StorageFile Async usage in a NON Metro application

前端 未结 4 568
庸人自扰
庸人自扰 2020-12-16 23:24

I am trying to create an instance of StorageFile in my class library...

var localFolder = ApplicationData.Current.LocalFolder;
StorageFile destinationFile =          


        
4条回答
  •  轮回少年
    2020-12-16 23:38

    I had the same issue.The problem was system namespace is missing in the namespace header.I just included system in the namespace and it worked. hope it helps.

提交回复
热议问题