I built and ran the application and I saw in the console that the background task was successfully registered, but it can't be triggered. I opened the Event Viewer -> Applications and Services Logs -> Microsoft -> Windows -> BackgroundTaskInfrastructrure and enabled the Logs. I get this error message "The background task with entry point BackgroundTask.BackgroundTask and name TimerTriggerTest failed to activate with error code 0x80131522."
Hello,
I built and ran the application and I saw in the console that the background task was successfully registered, but it can't be triggered. I opened the Event Viewer -> Applications and Services Logs -> Microsoft -> Windows -> BackgroundTaskInfrastructrure and enabled the Logs. I get this error message "The background task with entry point BackgroundTask.BackgroundTask and name TimerTriggerTest failed to activate with error code 0x80131522."
What is causing the problem?