# CurrentProjectName
{: .no_toc }

Returns the name of the current project as a literal **String**.

Syntax: **CurrentProjectName** [ **()** ]

The value is the name of the project (executable or library) that owns the call site.

> [!NOTE]
> **CurrentProjectName** is a compile-time intrinsic --- the literal string is embedded in the compiled code from the project's metadata at the point of the call.

### Example

```tb check_build
Dim ProjectName As String
ProjectName = CurrentProjectName()
Debug.Print "Running in project: " & ProjectName
```

### See Also

- [CurrentComponentName](/tB/Modules/Compilation/CurrentComponentName.md) function
- [CurrentProcedureName](/tB/Modules/Compilation/CurrentProcedureName.md) function
- [CurrentSourceFile](/tB/Modules/Compilation/CurrentSourceFile.md) function
