Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows Form Icon not showing in Taskbar C#

Tags:

c#

.net

winforms

I am adding an Icon to the Form i have created. When i run the program through VS2012 the icon shows up on the taskbar. But after publishing the project and installing it, the icon shows up in the Form border, but not in the taskbar. What am i doing wrong here?

I have tried resizing the icon.

like image 797
Lahib Avatar asked Feb 05 '13 09:02

Lahib


People also ask

What is C# Windows Form application?

A Windows form in C# application is one that runs on the desktop of a computer. Visual Studio Form along with C# can be used to create a Windows Forms application. Controls can be added to the Windows forms C# via the Toolbox in Visual Studio. Controls such as labels, checkboxes, radio buttons, etc.


1 Answers

Did you go to the project's properties and set an icon in the Application tab (this should of course be the same icon used for the main window to avoid any confusion)?

like image 62
eMi Avatar answered Oct 11 '22 06:10

eMi