在以下appxmanifest,就是什麼屬性/顯示名稱元素和VisualElements之間的區別@ DisplayName特性在.appxmanifest文件
Package/Properties/DisplayName
元素
和
Package/Applications/Application/[email protected]
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest">
<Identity Name=""
Version=""
Publisher="" />
<Properties>
<DisplayName></DisplayName> <!-- this -->
<PublisherDisplayName></PublisherDisplayName>
<Logo></Logo>
</Properties>
<Prerequisites>
<OSMinVersion></OSMinVersion>
<OSMaxVersionTested></OSMaxVersionTested>
</Prerequisites>
<Resources>
<Resource Language="" />
</Resources>
<Applications>
<Application Id="" StartPage="">
<!-- and this -->
<VisualElements DisplayName=""
Description=""
Logo="" SmallLogo=""
ForegroundText="" BackgroundColor="">
<SplashScreen Image="" />
</VisualElements>
</Application>
</Applications>
</Package>
之間的區別
https://msdn.microsoft.com/en-us/library/windows/apps/br211475.aspx
它有什麼好處? – Liero
@Liero有時,開發人員可能希望更新應用程序名稱以便在商店中顯示,以獲得更多的可見性。他們只需要在包清單中更改它,但保持VisualElements中的「顯示名稱」不變,以便安裝應用程序時用戶應用列表中的應用可以保持不變。 –