Share via


GenerateApplicationManifest.IconFile Property

Definition

Gets or sets the application's icon file.

This API supports the product infrastructure and is not intended to be used directly from your code.

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; }
public Microsoft.Build.Framework.ITaskItem IconFile { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.IconFile : Microsoft.Build.Framework.ITaskItem with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.IconFile : Microsoft.Build.Framework.ITaskItem with get, set
Public Property IconFile As ITaskItem

Property Value

The icon file to use for the application.

Attributes

Remarks

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.

Applies to