GenerateApplicationManifest.IconFile Property


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

Gets or sets the application's icon file.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:   Microsoft.Build.Tasks
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

public ITaskItem IconFile { get; set; }

Property Value

Type: Microsoft.Build.Framework.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.

Return to top