# locationPathName

> The path where the application will be built.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public string locationPathName { readonly get; set; }
```

### Remarks

The path you specify must end with the correct extension for the file format you will build. This path won't be changed by Unity. Set the file format using [EditorUserBuildSettings.buildAppBundle](/engine/6000.0/script-reference/unityeditor/editoruserbuildsettings/buildappbundle.md).

* If your file is an Android Package, end `locationPathName` with `.apk`.

* If your file is an Android App Bundle, end `locationPathName` with `.aab`.

Additional Resources: [EditorUserBuildSettings.GetBuildLocation](/engine/6000.0/script-reference/unityeditor/editoruserbuildsettings/getbuildlocation.md), [Build path requirements for target platforms](/engine/6000.0/manual/building-and-publishing/build-customize-build-pipeline/build-path-requirements.md).
