TargetKind Property

MSBuild

Gets or sets the indicator whether the target assembly is created as a library (Dll), a console application (Exe) or as a Windows application (WinExe).


Namespace: MSBuild.Community.Tasks
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)

Syntax

Visual Basic (Declaration)
Public Property TargetKind As String
C#
public string TargetKind { get; set; }
C++
public property string TargetKind sealed  {
    String get();
    void set(String value);
}
J#
/** property */
public string get_TargetKind();

/** property */
public void set_TargetKind(string value);
JScript
public function get TargetKind() : String

public function set TargetKind(value : String);

Remarks

Corresponds to command line option "/target".

The default value is the same kind as that of the primary assembly.

See Also

Syntax based on .NET Framework version 2.0.
Documentation version 1.0.0.0.