I am trying to create a background task that uses an accelerometer to play music in the background (pause, play, etc.). In Package.appxmanifest, I have a backgroundtask that reads the accelerometer, and in Package.appxmanifest it has a trigger to use the device as a supported task type. When I try to add Audio as a supported task type, during deployment, I get the following error:
DEP0001: Unexpected error: package could not be registered. (Exception from HRESULT: 0x80073CF6)
I played with him a bit, and it seems that I cannot use any other type of task with sound, but without sound I could use anything. Do you have any suggestions?
Peter source share