This version of Unity is unsupported.

EditorUserBuildSettings.selectedStandaloneTarget

public static BuildTarget selectedStandaloneTarget;

Description

The currently selected target for a standalone build.