IconFile Property

ApplicationManifest.IconFile Property


Gets or sets the program 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.Deployment.ManifestUtilities
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

public string IconFile { get; set; }

Property Value

Type: System.String

A string that represents the name of the icon file.

The program icon is expressed in the generated application manifest and is used for the Start menu and Add or Remove Programs. If this the icon file is not specified, a default icon is used. For a native Win32 manifest, this input is ignored.

Return to top
© 2015 Microsoft