Freigeben über


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)

Syntax

'Declaration
Public Property IconFile As String
public string IconFile { get; set; }
public:
property String^ IconFile {
    String^ get ();
    void set (String^ value);
}
member IconFile : string with get, set
function get IconFile () : String 
function set IconFile (value : String)

Property Value

Type: System.String
A string that represents the name of the icon file.

Remarks

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.

.NET Framework Security

See Also

Reference

ApplicationManifest Class

Microsoft.Build.Tasks.Deployment.ManifestUtilities Namespace