Udostępnij za pośrednictwem


ProjectInstance.DefaultTargets Property

Definition

DefaultTargets specified in the project, or the logically first target if no DefaultTargets is specified in the project. The build builds these if no targets are explicitly specified to build.

public:
 property System::Collections::Generic::List<System::String ^> ^ DefaultTargets { System::Collections::Generic::List<System::String ^> ^ get(); };
public System.Collections.Generic.List<string> DefaultTargets { get; }
public System.Collections.Generic.List<string> DefaultTargets { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; }
member this.DefaultTargets : System.Collections.Generic.List<string>
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.DefaultTargets : System.Collections.Generic.List<string>
Public ReadOnly Property DefaultTargets As List(Of String)

Property Value

The list of default targets for this project.

Attributes

Remarks

Default targets are built if no targets are explicitly specified.

Applies to