【发布时间】:2015-03-29 08:48:56
【问题描述】:
我将我的应用程序从 WP8.0 迁移到 WP8.1 Silverlight。现在磁贴将不再显示标题/应用名称。
Package.appxmanifest(图块的一部分)目前如下所示
<m3:VisualElements DisplayName="Time Stamp" Square150x150Logo="Assets\Startscreen-Medium-Tile.png" Square44x44Logo="Assets\Applicaton-Icon.png" Description="Time Stamp work time tracker" ForegroundText="light" BackgroundColor="transparent">
<m3:DefaultTile ShortName="Time Stamp" Square71x71Logo="Assets\Startscreen-Small-Tile.png" Wide310x150Logo="Assets\Startscreen-Wide-Tile.png">
<m3:ShowNameOnTiles>
<m3:ShowOn Tile="square150x150Logo"></m3:ShowOn>
<m3:ShowOn Tile="wide310x150Logo"></m3:ShowOn>
</m3:ShowNameOnTiles>
</m3:DefaultTile>
<m3:SplashScreen Image="Assets\SplashScreen\SplashScreenImage.scale-240.jpg" />
</m3:VisualElements>
我已经搜索了一段时间的文档,但无法弄清楚缺少什么。引起我注意的是下面的注释,它属于 DefaultTile 的 ShortName 属性的描述 (https://msdn.microsoft.com/en-us/library/windows/apps/dn391672.aspx)
Note As of Windows 8.1, this property is ignored and the display name
declared in the manifest is used in its place.
虽然它提到了 Windows 而不是 Windows Phone,但我也想知道它指的是什么清单。也许这里的文档不是 100% 正确的。
【问题讨论】:
标签: c# silverlight windows-phone-8 windows-phone-8.1