ClickOnce start menu icon

后端 未结 3 576
不思量自难忘°
不思量自难忘° 2021-01-01 17:48

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

3条回答
  •  借酒劲吻你
    2021-01-01 18:37

    The question that led me to this thread was the following: How do I set the icon for my start menu shortcut when I deploy and install my application with ClickOnce? This is Rene's question as well.

    I did try the solution where one goes to the Application tab and in the middle of the page use the option for "icon and manifest". I made sure that the icon was in the various resource files. The icon appeared on my window form, but this failed to solve the problem: The start icon remained the default icon and did not change to my application's icon.

    It failed because there was another issue involved. The icon.ico file I had built for the form was 250x250 and 96px resolution. I rebuilt the application icon, which was located in the root folder, to 16x16 and 72px resolution. After doing this the Start Menu icon in Windows changed top my application's icon.

提交回复
热议问题