Share via


BuildSettings.ApplicationFile Property

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

Gets or sets the file to be installed after the bootstrapper installs the required components.

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.Bootstrapper
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
Public Property ApplicationFile As String
public string ApplicationFile { get; set; }
public:
virtual property String^ ApplicationFile {
    String^ get () sealed;
    void set (String^ value) sealed;
}
abstract ApplicationFile : string with get, set 
override ApplicationFile : string with get, set
final function get ApplicationFile () : String 
final function set ApplicationFile (value : String)

Property Value

Type: System.String
The name of the file to be installed after the required components are installed.

Implements

IBuildSettings.ApplicationFile

Remarks

Gets or sets the file to be installed after the bootstrapper installs the required components. By default, the file path is relative to the bootstrapper source path. Set this property to null if no application is to be installed.

.NET Framework Security

See Also

Reference

BuildSettings Class

Microsoft.Build.Tasks.Deployment.Bootstrapper Namespace