I am trying to run the AllJoyn DSB template and follow the GpioDevice Sample Tutorial, at this site http://ms-iot.github.io/content/win10/samples/AllJoynSamples.htm .
I can succesfully run AdapterHostApp on my Win10 PC. However, when I tried to deploy "AdapterBackgroundService" to a MBM Win IoT Core system, I got the following error:
Error : DEP0700 : Registration of the app failed. C:.......\App1AdapterBackgroundServiceVS.Debug_Win32.Tester\AppxManifest.xml(25,6): error 0x80070490: Cannot register the App1AdapterBackgroundService_1.0.0.0_x86__XXXXX package because the following error was encountered while parsing the App1AdapterBackgroundService application: Element not found. Try again and contact the package publisher if the problem persists. (0x80073cf6).
Can any one help?
I got an answer from a GitHub issue:
We've reproduced this issue. Turns out the required Assets\ that are referenced in project AdapterBackgroundService file Package.appxmanifest are missing. They are present in the AdapterHostApp project.
So, to fix:
- Copy Assets directory from AdapterHostApp folder to AdapterBackgroundService folder.
- Under AdapterBackgroundService project, right click, Add -> New Filter, call it "Assets"
- Right click on the created "Assets" filter, Add -> Existing Item, and select all files under AdapterBackgroundService\Assets\
This will add all the missing Assets files back to AdapterBackgroundService.
This solved the issue for me.
User contributions licensed under CC BY-SA 3.0