# LastBuildPath
{: .no_toc }

Returns the full path to the output file produced by the most recent build. Read-only.

Syntax: *object*.**LastBuildPath**

*object*
: *required* An object expression that evaluates to an **_App** object. In practice this is the global **App** object.

**LastBuildPath** returns the complete file-system path, including the file name and extension, of the executable or DLL most recently compiled from this project. When no build has been performed in the current IDE session, the property returns an empty string.

> [!NOTE]
>
> **LastBuildPath** is a twinBASIC-specific property with no equivalent in VBA or VB6. It is only meaningful during IDE-hosted execution; in a compiled executable it returns an empty string.

### Example

This example prints the last build path to the debug console.

```tb check_build
Debug.Print "Last build: " & App.LastBuildPath
```

### See Also

- [Path](/tB/Packages/AppGlobalClassObject/_App/Path.md) property
- [ModulePath](/tB/Packages/AppGlobalClassObject/_App/ModulePath.md) property
- [EXEName](/tB/Packages/AppGlobalClassObject/_App/EXEName.md) property
