Windows 10 IoT Raspberry Pi 2:自动启动发布的应用程序 [英] Windows 10 IoT Raspberry Pi 2: Autostart published Application

查看:77
本文介绍了Windows 10 IoT Raspberry Pi 2:自动启动发布的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开始使用Windows 10进行Raspberry Pi 2开发的经验,我想知道如何配置Raspberry Pi 2来自动启动我自己在Visual Studio中开发的已发布应用程序?而且:我该如何设置时间和时间?我的设备上的地区?

I'm starting making experience with the Raspberry Pi 2 Development with Windows 10 and I was wondering how can I configurate the Raspberry Pi 2 to autostart my own published application, I developed in Visual Studio? And furthermore: How can I set up time & Region on my device?

非常感谢您提供的所有有益的答案.

Thank you so much for all helpfull and well meant answers.

推荐答案

今天晚上,我自己正在研究如何进行此操作.我发现,您可以通过PC上的Powershell编辑Pi的启动,并告诉它要加载什么应用.

I was looking at how to do this myself this evening. What I found was that you can edit the Pi's startup through Powershell on your PC and tell it what app to load.

设置启动应用程序:
使用启动编辑器在Windows IoT核心版设备上配置启动应用程序.使用以下任一选项运行启动":

Startup/d显示启动应用程序的列表.

启动/a [名称] [路径]将名称名称位于路径path的应用程序添加到启动任务列表.

Startup/r [name]从启动任务列表中删除名称为name的应用程序.

如需更多帮助,请尝试startup.exe/?

Setting startup app:
Use the startup editor to configure startup apps on your Windows IoT Core device. Run Startup with any of the following options:

Startup /d displays the list of startup apps.

Startup /a [name] [path] adds an app with name name located at path path to the list of startup tasks.

Startup /r [name] removes an app with name name from the list of startup tasks.

For further help, try startup.exe /?

http://ms-iot.github.io/content/win10/tools/CommandLineUtils .htm

就区域设置而言,您可以在加载Pi上的默认屏幕时执行此操作.当您进入Windows屏幕时,右下角会有一个齿轮图标,它将带您到那里.不幸的是,Raspberry Pi没有内置实时时钟,因此您必须添加一个(硬件)或将其从互联网上提取.

As far as region settings, you can do that while loading up the default screen on the Pi. When you get to the Windows screen, there is a gear icon in the lower right that will bring you there. Unfortunately, there isn't a real time clock built into the Raspberry Pi, so you'd have to add one (hardware) or pull it from the internet.

这篇关于Windows 10 IoT Raspberry Pi 2:自动启动发布的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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