How to assign executable's icon
-
Where is the application icon is assigned? So the executable that my program creates, will have the icon that i want. Thanks, ~Mithat
Select the project in the Solution Explorer, right-click and select properties, and there is a line for Application Icon. However, if it's a WinForms application the icon shown in the taskbar will be the one given by the main form's Icon property. Chris Jobson
-
Where is the application icon is assigned? So the executable that my program creates, will have the icon that i want. Thanks, ~Mithat
When compiling from the command line use the /win32icon command line option to csc.exe. When building in the IDE set the Appliction Icon option. You can find it by right clicking on your project in the solution explorer, selecting the properties menu item. Appliction Icon is under Common Properties - General. Cheers, Peter Microsoft C# Compiler Dev Lead