我尝试使用 win32 fullTrustProcess AppService 扩展创建一个 JS UWP 应用程序。我在这里遵循了示例:https ://github.com/Microsoft/DesktopBridgeToUWP-Samples/tree/master/Samples/AppServiceBridgeSample但是当我尝试部署到本地计算机(带有周年更新的 Windows 10)时,我收到部署错误:
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.
清单的扩展部分:
<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>