如何命名已部署的应用程序?

时间:2022-01-20 20:26:28

I've successfully installed Windows 10 IoT on my Raspberry Pi 2. I wrote a test "Hello World" UAP app (simple text box and button, using Visual Studio Community 2015 RC) and can run it on the Pi and debug it (set break points, etc). When I build it for Release and deploy it to the Pi, I see the following in the Visual Studio build output:

我已经在我的Raspberry Pi 2上成功安装了Windows 10 IoT。我编写了一个测试“Hello World”UAP应用程序(简单的文本框和按钮,使用Visual Studio Community 2015 RC)并可以在Pi上运行并调试它(设置)破点等)。当我为Release构建它并将其部署到Pi时,我在Visual Studio构建输出中看到以下内容:

Full package name: "93b8b47e-8bbe-46d9-8a30-4cf697efc3d9_1.0.0.0_arm__3e1tqk2ntzwa4"

When I run the following command in PowerShell connected to the Pi:

当我在连接到Pi的PowerShell中运行以下命令时:

iostartup list

I see a list of server installed applications, including:

我看到了服务器安装的应用程序列表,包括:

Headed   : 93b8b47e-8bbe-46d9-8a30-4cf697efc3d9_3e1tqk2ntzwa4!App

The tutorial I was following says I should see something like:

我跟随的教程说我应该看到类似的东西:

Headed   : HelloWorld_n2pe7ts0w7wey!App

I don't see anything with the name "HellowWorld" in it, only that GUID'ish looking name that matches the name shown in the build output. How can I set the name of the deployed application to a more friendly name? It would make it easier for setting the application to start during boot of the Pi, etc. BTW, my VS solution and project are both named HelloWorld.

我没有看到任何名称为“HellowWorld”的内容,只有GUID'的名字与构建输出中显示的名称相匹配。如何将已部署的应用程序的名称设置为更友好的名称?这将使得在启动Pi等过程中设置应用程序变得更容易.BTW,我的VS解决方案和项目都被命名为HelloWorld。

2 个解决方案

#1


Look in your Package.appxmanifest -- the name is there. It is default as a GUID due to visual studio project templates and picking some default that would not conflict on project creation.

查看您的Package.appxmanifest - 名称就在那里。由于visual studio项目模板和选择一些在项目创建时不会产生冲突的默认值,它默认为GUID。

#2


To rename application package name, follow:

要重命名应用程序包名称,请按照:

如何命名已部署的应用程序?

#1


Look in your Package.appxmanifest -- the name is there. It is default as a GUID due to visual studio project templates and picking some default that would not conflict on project creation.

查看您的Package.appxmanifest - 名称就在那里。由于visual studio项目模板和选择一些在项目创建时不会产生冲突的默认值,它默认为GUID。

#2


To rename application package name, follow:

要重命名应用程序包名称,请按照:

如何命名已部署的应用程序?