How to: Specify an Application Icon (Visual Basic, C#)
This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, use the version selector at the top left. We recommend upgrading to Visual Studio 2019. Download it here
Icon property for a project specifies the icon file (.ico) that will be displayed for the compiled application in File Explorer and in the Windows taskbar.
Icon property can be accessed in the Application pane of the Project Designer; it contains a list of icons that have been added to a project either as resources or as content files.
After you set the icon property for an application, you might also set the
Icon property of each Window or Form in the application. For information about window icons for Windows Presentation Foundation (WPF) standalone applications, see Icon property.
To specify an application icon
In Solution Explorer, choose a project node (not the Solution node).
On the menu bar, choose Project, Properties.
When the Project Designer appears, choose the Application tab.
(Visual Basic) In the Icon list, choose an icon (.ico) file.
C# Near the Icon list, choose the <Browse...> button, and then browse to the location of the icon file that you want.