Partager via


Project.InitialTargets Property

Definition

Read-write accessor for the "InitialTargets" attribute of the <Project> element. This is passed in and out as a semicolon-separated list of target names. The "get" returns all of the initial targets in both the main project and all imported projects (after property expansion). The "set" only sets the initial targets for the main project.

public:
 property System::String ^ InitialTargets { System::String ^ get(); void set(System::String ^ value); };
public string InitialTargets { get; set; }
member this.InitialTargets : string with get, set
Public Property InitialTargets As String

Property Value

A semi-colon (;) delimited list of the targets specified in the InitialTargets attribute.

Applies to