locked
Specifying relative paths for background task

    Question

  • I could not find a way to load my background task if the .js file is in a subfolder of project.

    Example

    myproject\backgroundtask.js works (refer to backgroundtaskSample)

    However,

    myproject\js\backgroundtask.js fails to load.

    I have changed the appx manifest's start page to "js\backgroundtask.js" or "backgroundtask.js" and background task EntryPoint to "js\backgroundtask.js", "\js\backgroundtask.js", or "backgroundtask.js" with no luck. Does anyone have a solution to this?

    Monday, May 14, 2012 11:02 PM

Answers