12

I have a .NET universal application which I deployed to Raspberry Pi 2. It runs when I select "Debug" in Visual Studio 2015 Community Edition. But whenever Raspberry shuts down, I need to start the app again.

How can I make my app run at startup time?

Thomas Weller
  • 2,385
  • 3
  • 25
  • 51

2 Answers2

13

There are the following ways:

1.) Set the app as default app via the Webbrowser

Set default app via webbrowser

2.) Via a PowerShell connection (MS IoT Github). When connected, type

    iotstartup add headed HelloRaspi

where HelloRaspi is the name of the app and headed means that it has a user interface.

Thomas Weller
  • 2,385
  • 3
  • 25
  • 51
1

You can refer following article to better understand the process of registering startup app using PowerShell as well as WindowsIoT's WebManagement Portal:
https://www.hackster.io/AnuragVasanwala/windows-10-iot-core-setting-startup-app-887ed0