ClickOnce开始菜单图标 [英] ClickOnce start menu icon

查看:96
本文介绍了ClickOnce开始菜单图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用ClickOnce部署和安装应用程序时,如何为开始菜单快捷方式设置图标?

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

平台:Visual Studio 2010 Professional Beta 1

Platform: Visual Studio 2010 Professional Beta 1

推荐答案

双击主项目的属性。

单击应用程序选项卡。 (我在这里假设使用C#。如果您使用的是VB,请发回是否不同的内容,我会看看是否相同。)

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.)

在页面上,有一个用于图标和清单的选项。

浏览找到要使用的图标并将其选中。

它必须位于的顶部文件夹中您的项目;我认为它会在您选择它的地方放上。

该图标将与您的项目一起部署,并将在开始菜单中使用。 (您可以仔细检查应用程序文件对话框-应该在其中标记为include(auto)。)

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.

这篇关于ClickOnce开始菜单图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆