Share via


FileAssociation.Extension Property

Gets or sets the file name extension to be associated with the application.

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 Extension As String
public string Extension { get; set; }
public:
property String^ Extension {
    String^ get ();
    void set (String^ value);
}
member Extension : string with get, set
function get Extension () : String 
function set Extension (value : String)

Property Value

Type: System.String
The file name extension to be associated with the application.

.NET Framework Security

See Also

Reference

FileAssociation Class

Microsoft.Build.Tasks.Deployment.ManifestUtilities Namespace