为什么包名称使用项目名称?

Why package name is using project name?

我有一个uwp项目,项目名称是FirstMobile,在Package.appxmanifest,我点击Packaging,把包名设为WinTest,然后我点击Store--> Add生成intall appx文件,但是为什么生成的 appx 名称为 FirstMobileXXXXX,为什么不是 WinTest?我安装后安装位置是WinTestXXXXX.

您可以在代码中查看清单文件:

您更改的是 VisualElements 中的包显示名称,这是您的应用程序名称在用户设备上的显示方式。参见Visual Elements中的Attributes:

A friendly name for the app that can be displayed to users. This string is localizable;

Properties 中的 DisplayName 是您在应用商店中保留的应用名称,对于上传到应用商店的应用。