I\'ve been trying to add an out of process background task to my project to update my App\'s live tile. The task needs to make a database call to get some data, then process
I hit the same issue. Unfortunately adding audio is not a solution as this will be a requirement for the windows store, not a good idea. Setting minimum target version gives you very limited Windows Store functionality and less UWP features.
Get started by using this link and follow it very carefully:
https://docs.microsoft.com/en-us/windows/uwp/launch-resume/create-and-register-a-background-task
To summarise:
Personally I recommend to use an out-of-process background task to eliminate any possibly that if the background task crashes it does not affect the app from running, also much more flexible.
As a tip your BackgroundTaskBuilder will reference as strings:
builder.Name = "MyBackgroundTask";
builder.TaskEntryPoint = "BackgroundTasks.MyBackgroundTask";
I find making background tasks in UWP quite tedious, but once done well worth the effort.