Share via


BuildSettings.CopyComponents Property

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

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

Implements

IBuildSettings.CopyComponents

Remarks

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

.NET Framework Security

See Also

Reference

BuildSettings Class

Microsoft.Build.Tasks.Deployment.Bootstrapper Namespace