OK, issue has been reported on Github. See https://github.com/microsoft/WindowsAppSDK/discussions/4115
OOP Background Task with SelfContained WinUI/WinAppSDK desktop app doesn't run if dotnet is not installed
I have a beta version available of my WinUI/WinAppSDK desktop app for a restricted set of users via Microsoft Store Package Flights. One of the users reports that none of the 3 background tasks in the app are executed. The 3 type of tasks are: a 15 minutes timer triggered task, a portable device watcher task, and a session connect watcher task. All 3 are OOP BG tasks and run without issues on the other user's machines. The manifest file of course is correctly set up with the necessary entries (otherwise the tasks wouldn't run).
Event viewer on the user's computer gives the following error (in the BackgroundTaskInfrastructure section) for the 'session connect' task:
The background task with entrypoint SyncFolder.BackgroundTasks.ExecWhenSessionConnectedTask and name ExecWhenSessionConnected is not activated with error code 0x80008083.
The same error is being logged for the 2 others. The fault occurs on Windows 10, build 19045.3930.
I looked around what 0x80008083 could mean but with no luck. Any idea?