Bagikan melalui


CallTarget.Targets Property

Definition

The targets to build.

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

public:
 property cli::array <System::String ^> ^ Targets { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
public string[] Targets { get; set; }
public string[] Targets { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.Targets : string[] with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.Targets : string[] with get, set
Public Property Targets As String()

Property Value

String[]

Array of target names.

Attributes

Remarks

This is a required parameter. If you want to build the default targets, use the <MSBuild> task and pass in Projects=$(MSBuildProjectFile).

Applies to