Export (0) Print
Expand All

Project.DefaultTargets Property

Gets or sets the DefaultTargets attribute of the Project element in the MSBuild project.

Namespace:  Microsoft.Build.BuildEngine
Assembly:  Microsoft.Build.Engine (in Microsoft.Build.Engine.dll)

public string DefaultTargets { get; set; }

Property Value

Type: System.String
A semi-colon (;) delimited list of the targets specified in the DefaultTargets attribute.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft