Hi,
I'm using Windows Application Packaging Project (WAPP) to convert a C++ executable to Windows 10 Store app. Earlier I used Desktop Bridge to package my app successfully which is also available on Windows Store.
Now to use some advanced features, I chose WAPP. It contains one C++ project (main startup project) and another UWP project (secondary project).
The UWP app required AppServiceConnection from an external app and to do so, I had to create two Application entries in WAPP's appxmanifest file. Without that, AppServiceConnection was not functioning. So, the
Package.appxmanifest file now contains two Application Entries:
<Applications>
<Application Id="App"
Executable="$targetnametoken$.exe"
EntryPoint="$targetentrypoint$">
<uap:VisualElements
DisplayName="MySampleApplication"
Description="MySampleApplication"
BackgroundColor="transparent"
Square150x150Logo="Images\Square150x150Logo.png"
Square44x44Logo="Images\Square44x44Logo.png">
<uap:DefaultTile Wide310x150Logo="Images\Wide310x150Logo.png" />
<uap:SplashScreen Image="Images\SplashScreen.png" />
</uap:VisualElements>
</Application>
<Application Id="App2"
Executable="MySampleUWP.exe"
EntryPoint="MySampleUWP.App">
<uap:VisualElements
DisplayName="MySampleUWP"
Square150x150Logo="Assets\Square150x150Logo.png"
Square44x44Logo="Assets\Square44x44Logo.png"
Description="MySampleUWP"
BackgroundColor="transparent"
AppListEntry="none">
<uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png"/>
<uap:SplashScreen Image="Assets\SplashScreen.png" />
</uap:VisualElements>
<Extensions>
<uap:Extension Category="windows.appService">
<uap:AppService Name="uwp.sample.app" />
</uap:Extension>
</Extensions>
</Application>
</Applications>
<Capabilities>
<Capability Name="internetClient" />
<rescap:Capability Name="runFullTrust" />
</Capabilities>
The application is running fine. But the problem arises when it is submitted to Store. Without the second Application entry in appxmanifest, the package is accepted by Store. But as I require to write two Application
entries in same appxmanifest file, the submission process gives the following error and a warning:
Error: Package acceptance validation error: The package file AppName.appx specifies a headless app. You don't have permission to create a headless app. Please update AppListEntry="none" in the AppxManifest
file and also ensure you have the waiver "HeadlessAppBypass" associated to this app.
Warning: Package acceptance validation warning: The package AppName.appx uses extension windows.startupTask, in namespace http://schemas.microsoft.com/appx/manifest/desktop/windows10, which is not supported on
Xbox. If you are offering this app to Xbox customers, you must remove this extension before completing this submission.
Please help with this submission error. Thanks in advance!