简体   繁体   English

UWP 在 Raspberry Pi 上使用 FullTrustesdLauncher 启动 EXE

[英]UWP start EXE with FullTrustesdLauncher on Raspberry Pi

I created a UWP-application which starts an external application over its EXE-File using the FullTrustedLauncher.我创建了一个 UWP 应用程序,它使用 FullTrustedLauncher 通过其 EXE 文件启动一个外部应用程序。 It works fine when I start the UWP-App on the computer (local) but the problem occurs when I start the UWP-app on a Raspberry Pi.当我在计算机(本地)上启动 UWP-App 时它工作正常,但是当我在 Raspberry Pi 上启动 UWP-App 时出现问题。 The EXE-File can't be run with following Error: "Class not referenced" By the way the EXE-File I want to run is an ASP.NET Core application.无法运行 EXE 文件并出现以下错误:“未引用类”顺便说一下,我要运行的 EXE 文件是一个 ASP.NET Core 应用程序。

Am I missing some .dll-files or what should I do to start an EXE on a Raspberry Pi?我是否缺少一些 .dll 文件,或者我应该怎么做才能在 Raspberry Pi 上启动 EXE? Are there better alternatives than using the FullTrustedLauncher for UWP-applications?对于 UWP 应用程序,是否有比使用 FullTrustedLauncher 更好的替代方法?

Thanks for your help :)谢谢你的帮助 :)

You should be able to use ProcessLauncher API in Windows IOT.您应该能够在 Windows IOT 中使用 ProcessLauncher API。 Here is a sample and documentation: https://github.com/Microsoft/Windows-iotcore-samples/blob/master/Samples/ExternalProcessLauncher/CS/README.md这是一个示例和文档: https : //github.com/Microsoft/Windows-iotcore-samples/blob/master/Samples/ExternalProcessLauncher/CS/README.md

FullTrustProcessLauncher is a Desktop Extensions SDK API, as called out in the documentation . FullTrustProcessLauncher 是一个桌面扩展 SDK API,如文档中所述。 It is only supported (and present) on the desktop device family, not on iot or any other SKU of Windows.它仅在桌面设备系列上受支持(并存在),在 iot 或任何其他 Windows SKU 上不受支持。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM