Change default icon

前端 未结 9 1531
南方客
南方客 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:09

    I had the same problem. I followed the steps to change the icon but it always installed the default icon.

    FIX: After I did the above, I rebuilt the solution by going to build on the Visual Studio menu bar and clicking on 'rebuild solution' and it worked!

    0 讨论(0)
  • 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).

    0 讨论(0)
  • 2020-12-15 17:16

    Your application icon shows in the taskbar. The icon on the topleft (window) is the form-icon. Go to your form and fill the property "icon" with the same icon; problem solved. You don't need to put the icon in the outputfolder (that's just for setups).

    0 讨论(0)
提交回复
热议问题