This version of Unity is unsupported.

NamedBuildTarget.TargetName

public string TargetName;

Description

Name of the build target.