Issues in executing Background Task in a UWP App
<p>I am building a UWP application in Microsoft Visual Studio Community 2015 Version 14.0.25.425.01 Update 3 with Microsoft .NET Framework Version 4.6.01055. The current version of AWS .NET SDK I am using is v3.1.0.</p>

<p>I wish to perform a scheduled file upload task for which I created a time triggered background task project.</p>

<p>I added as reference the Windows Run-time Component (ScheduledUploadBackgroundTask) where I wrote the background task, in my App project (Storage File Explorer).
<a href="https://i.stack.imgur.com/DLfwO.png" rel="nofollow noreferrer">Image1</a></p>

<p>I have also created a separate Class Library (AppUtils), where I have defined many utilities to be used in the upload background operation.This library is referenced in the background task WinRT.
<a href="https://i.stack.imgur.com/Az5Al.png" rel="nofollow noreferrer">Image2</a></p>

<p>Now, I have a file path in my background task. When I do a <em>GetFileFromPathAsync(filePath)</em> I get the AccessDeniedException.
<a href="https://i.stack.imgur.com/g4tQh.png" rel="nofollow noreferrer">Image3</a></p>

<p>I am aware that WinRT has access to app's Local &amp; Temp folders but the data (files/folders) I am uploading may be of very large volumes which leaves copying to Local/Temp folders not feasible.</p>

<p>Please suggest any workaround for this issue.</p>