【问题标题】:UWP start EXE with FullTrustesdLauncher on Raspberry PiUWP 在 Raspberry Pi 上使用 FullTrustesdLauncher 启动 EXE
【发布时间】:2018-07-26 02:49:51
【问题描述】:

我创建了一个 UWP 应用程序,它使用 FullTrustedLauncher 在其 EXE 文件上启动一个外部应用程序。 当我在计算机(本地)上启动 UWP-App 时它工作正常,但是当我在 Raspberry Pi 上启动 UWP-app 时出现问题。 EXE 文件无法运行,出现以下错误:“未引用类” 顺便说一下,我要运行的 EXE 文件是一个 ASP.NET Core 应用程序。

我是否缺少一些 .dll 文件,或者我应该怎么做才能在 Raspberry Pi 上启动 EXE?有没有比将 FullTrustedLauncher 用于 UWP 应用程序更好的选择?

感谢您的帮助:)

【问题讨论】:

    标签: c# uwp raspberry-pi asp.net-core-mvc windows-iot-core-10


    【解决方案1】:

    您应该能够在 Windows IOT 中使用 ProcessLauncher API。这是一个示例和文档:https://github.com/Microsoft/Windows-iotcore-samples/blob/master/Samples/ExternalProcessLauncher/CS/README.md

    【讨论】:

      【解决方案2】:

      FullTrustProcessLauncher 是一个桌面扩展 SDK API,如 documentation 中所述。它仅在桌面设备系列上受支持(并且存在),而不在 iot 或 Windows 的任何其他 SKU 上。

      【讨论】:

      • 是否有其他方法可以在不使用 FullTrustedProcessLauncher 的情况下解决此问题?没有办法在 Windows IoT / Raspberry PI 上通过 UWP 应用运行 EXE 吗?
      猜你喜欢
      • 2018-11-14
      • 1970-01-01
      • 2014-04-02
      • 1970-01-01
      • 2015-08-19
      • 1970-01-01
      • 2015-08-11
      • 2020-10-10
      • 1970-01-01
      相关资源
      最近更新 更多