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?

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.

| improve this answer | |
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

| improve this answer | |
  • 1
    Welcome to Raspberry Pi! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – Steve Robillard Dec 14 '15 at 15:47
  • Sure sir. I'll improve this answer as well as the future answers. I'll take care about this. – Anurag Vasanwala Dec 14 '15 at 17:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.