Change default icon

前端 未结 9 1535
南方客
南方客 2020-12-15 16:43

I\'m trying to change the application icon from default to something else. So what I did, is I made an icon and saved it. Then I went to the application tab in the property

9条回答
  •  温柔的废话
    2020-12-15 17:15

    If your designated icon shows when you run the EXE but not when you run it from Visual Studio, then, for a WPF project add the following at the top of your XAML: Icon="Images\MyIcon.ico". Put this just where you have the Title, and xmlns definitions. (Assuming you have an Images folder in your project, and that you added MyIcon.ico there).

提交回复
热议问题