none
Background Task Activation error RRS feed

  • Question

  • Hi ,

    I have background task which works fine while creating Appx interactively through visual studio IDE. While the Appx created thorough Jenkins build(see commands below), the background task goes error and throwing message "The background task with entry point "Project_BackgroundTask.Class_Service" and name "Class_Service" failed to activate with error code 0x80131522." and the background task is not working . what are the possible reasons  for this ?

    <Message Text="xcopy $(SOLUTION_DIR)\$(TARGET)\xx...Bridge.exe.$(SOLUTION_DIR)\$(TARGET)\PackageX\UnPacked\DesktopBridge /R /Y"/>
    <Exec Command="xcopy $(SOLUTION_DIR)\$(TARGET)\xx...Bridge.exe$(SOLUTION_DIR)\$(TARGET)\PackageX\UnPacked\DesktopBridge /R /Y" />
    <Exec Command="&quot;$(WINSDK_DIR)MakeAppX.exe&quot; pack /d &quot;$(SOLUTION_DIR)\$(TARGET)\PackageX\UnPacked&quot; /p &quot;$(SOLUTION_DIR)\$(TARGET)\PackageX\App.appx&quot; /l" />
    <Exec Command="&quot;$(WINSDK_DIR)signtool.exe&quot; sign /fd SHA256 /a /f &quot;$(PMPROJECT_DIR)AppClient_StoreKey.pfx&quot; &quot;$(SOLUTION_DIR)\$(TARGET)\PackageX\App.appx&quot;" />
    <Message Text="30_BUILD_PKG_END"/

    Thanks for the help...

    • Moved by Jayden Gu Monday, July 17, 2017 6:53 AM related to Jenkins build
    Friday, July 14, 2017 11:43 AM

All replies

  • Hi Sree2017,

    It seems the issue is related to the Jenkins build, you should be able to ask it in the Jenkins build' forum.

    If you have any others question, welcome to post it in this forum.


    Best Regards,

    Jayden Gu 


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, July 17, 2017 6:52 AM