如何运行 windows IOT core Console Visual C++ Application in Windows 10 IOT device.?

How to run windows IOT core Console Visual C++ Application in Windows 10 IOT device.?

我可以通过电源执行它 shell 。但无法直接从 IOT 设备 raspberry pi 运行。 如果没有从 IOT 设备执行控制台应用程序的可用选项,哪个是最好的替代应用程序平台? 是否有任何工具可以将控制台应用程序转换为可以在 IOT 设备上 运行 的应用程序?

如果从 ssh 会话启动应用程序,则从 visual c++ 应用程序查看控制台输出最简单。尝试使用 putty 连接到您的 raspberry pi,然后 运行 您在 ssh 会话中的命令。说明here To determine whether your visual c++ app is compatible with Windows IoT, you should run the iot core porting tool which is available here

如果你想在开发时直接运行控制台应用程序, 您可以参考此 link 获取 运行 在 Windows IoT Core 设备上安装和调试 C++ 控制台应用程序的步骤。 如果您使用 visual Studio 开发您的应用程序,您可以安装 Windows IoT Core Project Templates for VS 2017 and then build a background application. Background Applications 没有直接 UI(Headless) 的应用程序。部署和配置后,这些应用程序会在机器启动时启动并 运行 连续启动,没有任何进程生命周期管理资源使用限制。希望能帮到你。