That is a Resource File Pack URI, without the prefix pack://application:,,,
, which is automatically added by the XAML Parser.
The full Pack URI would be
pack://application:,,,/ProjectName;component/icons/ProjectName.ico
and would reference a resource file named ProjectName.ico
in an icons
subfolder in the referenced assembly ProjectName
. The ;component
part separates the assembly name from the file path.
If the resource file is in the local assembly, you could omit the referenced assembly part, and write
pack://application:,,,/icons/ProjectName.ico
or in XAML just
/icons/ProjectName.ico
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…