在Windows 10 IOT上运行UWP控制台应用程序吗? [英] Do UWP Console Apps Run On Windows 10 IOT?

查看:120
本文介绍了在Windows 10 IOT上运行UWP控制台应用程序吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 我希望能够在Windows 10 IoT上运行这些应用程序,但我似乎无法在RPI Build 17763.316上运行或调试它们。


https ://blogs.windows.com/buildingapps/2018/06/06/c-console-uwp-applications/#owRRo3EJKkEkiAkS.97



https:// blogs .msmvps.com / bsonnino / 2018/06/06 / writing-console-apps-with-uwp /



Jon



 I want to be able to run these apps on Windows 10 IoT but I can't seem to run or debug them on RPI Build 17763.316

https://blogs.windows.com/buildingapps/2018/06/06/c-console-uwp-applications/#owRRo3EJKkEkiAkS.97

https://blogs.msmvps.com/bsonnino/2018/06/06/writing-console-apps-with-uwp/

Jon


推荐答案

Hello Jon,

Hello Jon,

UWP控制台从模板创建的应用程序无法在Windows IoT Core上运行。

The UWP console App which created from the template can not run on Windows IoT Core.

Windows IoT Core支持某些传统的Win32应用程序类型,如Win32控制台应用程序,NT服务和.net核心控制台应用程序。如果控制台应用程序是传统的win32应用程序,它显然只支持C ++。但是如果你想用C#开发一个控制台
应用程序,你可以使用.net核心控制台,这样你需要运行命令来发布ARM的应用程序,然后将release文件夹复制到设备。

Windows IoT Core supports certain traditional Win32 app types such as Win32 Console Apps, NT Services and .net core console app. If the console app is traditional win32 app, it apparently only supports in C++. But if you want to develop a console app with C#, you can use .net core console, in this way, you need to run the command to publish the app for ARM, and then copy the release folder to device.

dotnet publish -r win10-arm

此外,这个  document  显示
如何为您的设备开发应用程序。

最好的问候,

Michael


这篇关于在Windows 10 IOT上运行UWP控制台应用程序吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆