---
title: projectFilePath
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityeditor/compilation/projectinfo/projectfilepath
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityeditor/compilation/projectinfo/projectfilepath.md
last_updated: 2026-11-26
generated_at: 2026-11-26T04:31:46.764Z
locale: en-us
---

# projectFilePath

> The full path of the project file (.csproj).

## Definition

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

```csharp
public string projectFilePath { get; }
```

### Remarks

Returns null when the MSBuild compilation pipeline is disabled, because the legacy pipeline has no project files.
