ClickOnce start menu icon

René Stalder picture René Stalder · Apr 15, 2010 · Viewed 14.5k times · Source

How do I set the icon for my start menu shortcut, when I deploy and install my application with ClickOnce?

Platform: Visual Studio 2010 Professional Beta 1

Answer

RobinDotNet picture RobinDotNet · Apr 16, 2010

Double-click on the properties for your main project.

Click on the Application tab. (I'm assuming C# here. If you're doing VB, post back if it's different and I'll see if it's the same.)

In the middle of the page, there is an option for "icon and manifest".
Browse to find the icon you want to use and select it.
It needs to be in the top folder of your project; I think it will put it there when you select it.
The icon will be deployed with your project, and will be used in the Start Menu. (You can doublecheck the Application Files dialog -- it should be in there marked include(auto)).

You can set the icon on the forms to point to the same icon, and show it on all your forms too.