Partager via


IBuildSettings.CopyComponents Property

Gets or sets a value indicating whether the bootstrapper components will be copied to the build output directory.

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
Property CopyComponents As Boolean
bool CopyComponents { get; set; }
property bool CopyComponents {
    bool get ();
    void set (bool value);
}
abstract CopyComponents : bool with get, set
function get CopyComponents () : boolean 
function set CopyComponents (value : boolean)

Property Value

Type: System.Boolean
true if the bootstrapper components will be copied to the build output directory; otherwise false.

Remarks

If true, the bootstrapper components will be copied. If false, the files will not be copied.

.NET Framework Security

See Also

Reference

IBuildSettings Interface

Microsoft.Build.Tasks.Deployment.Bootstrapper Namespace