I am new to uwp and I am trying to learn how to do a background task. I tried to follow the instructions that I found on the Internet, but did not seem to work. I am not getting an explicit error, but my background task is not writing to the debug console. Any help would be greatly appreciated.
This is my main haml

This is my main class.

This is my background task in the Windows Runtime Component Project ("MyBackgroundTask")

This is my manifest

This is before I press the button

This is after I press the button

source
share