According to MSDN
The icon used with JumpTask must be accessible as its own resource.
you can only load icons from a separate resource file. So, you need to set the IconResourcePath property in the DLL using the icons. If you have few icons, use the IconResourceIndex property to specify the one you need.
For example, the following code
<Application x:Class="YourApp.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" StartupUri="MainWindow.xaml"> <JumpList.JumpList> <JumpList> <JumpTask Title="TargetApp" Description="JumpTask to start TargetApp" ApplicationPath="TargetApp.exe" IconResourcePath="LibWithIcons.dll" IconResourceIndex="2" /> </JumpList> </JumpList.JumpList> </Application>
will create a JumpList and set the JumpTask TargetApp element third (zero numbering) from LibWithIcons.dll. By the way, if JumpTask launches another application, usually IconResourcePath installed in the executable file of this application, therefore the icon is displayed:
<JumpTask Title="TargetApp" Description="JumpTask to start TargetApp" ApplicationPath="TargetApp.exe" IconResourcePath="TargetApp.exe" IconResourceIndex="0" />
How to create a DLL icon described on MSDN forums .
source share