GenerateApplicationManifest.IconFile 属性

定义

获取或设置应用程序的图标文件。Gets or sets the application's icon file.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 property Microsoft::Build::Framework::ITaskItem ^ IconFile { Microsoft::Build::Framework::ITaskItem ^ get(); void set(Microsoft::Build::Framework::ITaskItem ^ value); };
public Microsoft.Build.Framework.ITaskItem IconFile { get; set; }
member this.IconFile : Microsoft.Build.Framework.ITaskItem with get, set
Public Property IconFile As ITaskItem

属性值

ITaskItem

要用于应用程序的图标文件。The icon file to use for the application.

注解

应用程序图标在生成的应用程序清单中表示,在 " 开始 " 菜单和 " 卸载或更改程序 " 对话框中使用。The application icon is expressed in the generated application manifest and is used on the Start menu and in the Uninstall or change a program dialog box. 如果未指定此输入,将使用默认图标。If this input is not specified, a default icon is used. 如果任务正在生成本机清单,将忽略此属性。If the task is generating a native manifest, this property is ignored.

适用于