UWP: Deployment error: Cannot register the xxxxx package because the extension is missing an EntryPoint or StartPage attribute. (0x80073cf6)

0

I try to create an JS UWP App with a win32 fullTrustProcess AppService extension. I followed the example here: https://github.com/Microsoft/DesktopBridgeToUWP-Samples/tree/master/Samples/AppServiceBridgeSample but when I try to deploy to local machine (Windows 10 with anniversary update) then I get a deployment error:

DEP0700 : Registration of the app failed. AppxManifest.xml(49,10): error 0x80080204: Cannot register the xxxxx package because the extension is missing an EntryPoint or StartPage attribute. (0x80073cf6)
Deployment of the application to the target device failed.

The extension part of the manifest:

<Extensions>
    <uap:Extension Category="windows.appService"> <!-- line 49 from error -->
        <uap:AppService Name="CommunicationService" />
    </uap:Extension>
    <desktop:Extension Category="windows.fullTrustProcess" Executable="bin\mywin32.exe" />
</Extensions>
visual-studio-2015
uwp
windows-10-universal
windows-10-desktop
asked on Stack Overflow Aug 11, 2016 by Daniel Toplak

2 Answers

1

To make this work in WINJS UWP app, please follow these steps:

  1. Add EntryPoint attribute for the fullTrustProcess extension:

<desktop:Extension Category="windows.fullTrustProcess" Executable="BackgroundProcess.exe" EntryPoint="Windows.FullTrustApplication" />

  1. Set StartPage attribute for appService extension:

<uap:Extension Category="windows.appService" StartPage="index.html"> <uap:AppService Name="CommunicationService" /> </uap:Extension>

  1. Change the TargetDeviceFamily to Desktop and ensure MinVersion above 14257:

<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.14393.0" MaxVersionTested="10.0.14393.0" />

Check my demo here: https://github.com/Myfreedom614/UWP-Samples/tree/master/AppServiceBridgeSample

0

I had the same problem. Unfortunately i couldn't get it solved using the solution proposed by Franklin Chen.

I fixed this problem by starting a new windows universal project and make sure i use only the very latest versions of the Windows universal templates (in my case a background task). Right after creation, i deployed this to the Raspberry Pi. After this succesfull deploy, i copied the code from my old project to this new project and i arrived where i wanted to be.

answered on Stack Overflow Jun 23, 2018 by real_yggdrasil

User contributions licensed under CC BY-SA 3.0