c# - Windows 10 Universal Audio Background Player - unable to register for background task: Run Method Doesn't fire -
developing visual studio 2015 rc - windows 10 universal app background audio player.
i have followed following steps.
created 3 projects.
- musicplayer (blank app - windows universal project)
- playlist (class library - windows universal project)
- audiobackgroundagent (windows runtime component - windows universal project)
followed same steps https://code.msdn.microsoft.com/windowsapps/backgroundaudio-63bbc319
everything ok, except i'm unable register , fire background task run method.
please suggest me, steps followed register , fire background task run method.
thanks.
may need add entry point in package.manifest example here's section need based on similar example:
<extensions> <extension category="windows.backgroundtasks" entrypoint="samplebackgroundaudiotask.mybackgroundaudiotask"> <backgroundtasks> <task type="audio" /> </backgroundtasks> </extension> </extensions>
also may need add reference agent project main project in case 3. audiobackgroundagent must referenced 1. musicplayer
Comments
Post a Comment