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.

  1. musicplayer (blank app - windows universal project)
  2. playlist (class library - windows universal project)
  3. 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

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -