Windows 10 IoT Raspberry Pi 2: Autostart published Application

前端 未结 4 2191
遇见更好的自我
遇见更好的自我 2021-02-14 18:56

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 ap

4条回答
  •  孤街浪徒
    2021-02-14 19:47

    Something to be warned about.

    At the current version, by default Visual Studio generates a random package name for your application, regardless your Project Name. My project's name was HelloWorld but it generated a totally different package name.

    The name is a random guid and it is being deployed by that name. You can change that name at Project Properties screen. In this example the package name goes as 7e3bb987-a1b9-4a67-9750492af7c7.

    When I remotely connect and run iotstartup list I see that my package is there with that guid name.

    I spent some time to find which app is mine, so I wanted to give heads up to others who might encounter the same. Just rename your Package Name to whatever you want and you'll be fine.

提交回复
热议问题