I am facing issues regarding with the DeleteAsync Api. I am using BackgroundDownload api's to access data from a web service and storing it to a temporary file which i want to delete. The delete operation is executed , but i still see the app in the local
data store of the app when the app is still in execution. At this point if I try to manually open the file in windows explorer, it say access denied. The file seems to actually get deleted from the local app data store only when the application is quit !
the problem is on a second run of creating the temporary file, instead of creating temp(2), the application seems to think there is a file with name temp. The app at this point throws an exception it says WWAhost.exe has thrown an exception.
I do need to delete the temporary files that i create after the json data is downloaded and read.