A wpf application registering a background task using Msix package

Copper Contributor

Hi all,

I create a wpf project using Microsoft.Windows.SDK.Contracts from Nuget to use Windows.ApplicationModel.Background.

Then use Msix to pack my wpf project which register a background task.

Im sure that the background task are registered successfully, (seen in powershell)

but when i trigger it with timezone change event, it's not triggered.

i look into the BackgroundTaskInfrastructure, and there are lots of log showing BackGroundTask can not be activated.

ErrorCode=0x80270254

any idea about this problem??

thanks.

0 Replies