UWP app icon on taskbar

左心房为你撑大大i 提交于 2019-12-08 07:14:22

问题


I have all icon assets sorted out for a UWP app as detailed here except for the icon on the Taskbar. This is because I find the description at the link referred to somewhat long-winded and confusing as to how I should name an icon that should show up on the Taskbar (when the app is running).

I have icon sizes prepared in dimensions of 16x16, 24x24, 32x32, 48x48, 256x256. I named them as recommended as MyAppNameAppList.targetsize-XX.png where XX is 16, 24, 32, 48 or 256. As I've indicated above, I've no trouble with other icons (on tiles, etc.) but the one on the Taskbar which doesn't show up.

What am I doing wrong? Help!


回答1:


Okay, I got it figured out. I left out the 24x24 icon by mistake, and as it turned out, is the very one required for the Taskbar!

While leaving out the 24x24 icon turned out to be a problem for me, there still remains a potential confusion and the MSDN link doesn't help much. For instance, there is no indication of which of the 5 icon dimensions would be used when. My guess is that these dimensions relate to some adaptive screen sizing but no detail on this. I found the following link more instructive indeed.

Amended: As an aside, I found this link very useful (with demo project, etc) and makes a much better explanation than the MSDN link provided in the question.



来源:https://stackoverflow.com/questions/34456302/uwp-app-icon-on-taskbar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!