Share via


BaseProperty.IncludeInCommandLine Property

Gets or sets a hint to the command-line constructor whether to include this property in the command line.

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.Framework.XamlTypes
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)

Syntax

'Declaration
Public Property IncludeInCommandLine As Boolean
public bool IncludeInCommandLine { get; set; }
public:
property bool IncludeInCommandLine {
    bool get ();
    void set (bool value);
}
member IncludeInCommandLine : bool with get, set
function get IncludeInCommandLine () : boolean 
function set IncludeInCommandLine (value : boolean)

Property Value

Type: System.Boolean
Returns the hint to the command-line constructor.

Remarks

Some properties are used only by the targets and are not to be included in the command line. Other properties, for example, task parameters, are included in the command line in the form of the switch/value that they emit. This field is optional and, by default, has the value true.

.NET Framework Security

See Also

Reference

BaseProperty Class

Microsoft.Build.Framework.XamlTypes Namespace