Forum Discussion
MSIX package and shortcut icons
I see some strange behavior and can't explain why it is not working.
I am playing around with the MSIX package and shortcut icons.
I created them using the Visual Asset generator (https://apps.microsoft.com/detail/9mz6qrqtdkf2?hl=en-US&gl=US) and copied them to the Assets folder.
When configuring the shortcuts with the files, the shortcuts and package logo stays blank.
When I open the manifest and point the entries hardcoded to the files the icons appear. Like this config below.
<Application Id="PSFLAUNCHERTwo" Executable="PsfLauncher2.exe" EntryPoint="Windows.FullTrustApplication">
<uap3:VisualElements AppListEntry="default" BackgroundColor="transparent" Description="Fair Prod" DisplayName="Fair Prod" Square150x150Logo="Assets\Edge-Square150x150Logo.scale-400.png" Square44x44Logo="Assets\Edge-Square44x44Logo.scale-400.png" VisualGroup="FCA"></uap3:VisualElements>
</Application>
But when removing the ".scale-400" part of the files, the icons would not appear.
Anyone knows what I am doing wrong here?
- PollewopsIron Contributor
Nobody ever experience this? I tested more and it looks like the 'resources.pri' file is not updated when Assets are added/removed. When using MSIX Hero or Advanced Installer I see that the 'makepri.exe' is used and a new up-to-date resources.pri is created with the updated assets/icons files.
With the MSIX Packaging Tool this seems not to happen and then the icons are unknown to the package.