Embed multiple icons in WPF EXE

前端 未结 5 841
后悔当初
后悔当初 2020-12-30 12:38

I have a WPF assembly in which I would like to embed five icons for different filetypes associated with my application. How can I embed these icons into my EXE?

@sm

5条回答
  •  没有蜡笔的小新
    2020-12-30 13:06

    Project Properties -> Resources -> Add Resource -> Add New Icon/Add Existing File (depending on whether or not you've already made the icon)

提交回复
热议问题