Reputation: 22114
I have changed the icon in the Main Project Properties Icon and Manifest option. Yet, after running the App, the default Icon is what shows up.
Any idea why such odd behavior will occur?
Upvotes: 8
Views: 12161
Reputation: 11886
The icon doesn't show in debug / release mode, you need to run the application using ctrl+F5, source
Upvotes: 11
Reputation: 56727
Does the default icon show up in the explorer or does it show up in the taskbar buttons? In case of the latter: change the icon for the forms as well, as the task bar button icon is not retrieved from the exe file, but from the form's Icon
property.
For WPF applications, use the attribute
Icon="Images\Logo.ico"
for the Window
element in XAML to have the window show the icon.
Upvotes: 18