# buildTarget

> BuildTarget for the assembly build.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.Compilation](/engine/6000.5/script-reference/unityeditor/compilation.md)
* **Assembly:** UnityEditor.CoreModule

> **Warning:**
>
> **Deprecated.** This feature is being deprecated and will be removed in the future. Similar functionality can be achieved using the Roslyn compiler

```csharp
public BuildTarget buildTarget { get; set; }
```

### Remarks

Defaults to [EditorUserBuildSettings.activeBuildTarget](/engine/6000.5/script-reference/unityeditor/editoruserbuildsettings/activebuildtarget.md).
