I have changed the icon 开发者_StackOverflowin 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?
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.
The icon doesn't show in debug / release mode, you need to run the application using ctrl+F5, source
精彩评论