Share via


BuildSettings.Validate 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 performs XML validation on the component manifests.

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

Property Value

Type: System.Boolean
true if the bootstrapper performs XML validation on the component manifests; otherwise false.

Implements

IBuildSettings.Validate

Remarks

If true, the bootstrapper validates component manifests; if false, the bootstrapper does not validate component manifests.

.NET Framework Security

See Also

Reference

BuildSettings Class

Microsoft.Build.Tasks.Deployment.Bootstrapper Namespace