---
id: "P:cAlgo.API.AlgoType.ProjectFilePath"
kind: "property"
type: "T:cAlgo.API.AlgoType"
url: "https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/AlgoType/ProjectFilePath/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# AlgoType.ProjectFilePath

Member of [AlgoType](https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/AlgoType/index.md).

## ProjectFilePath

Gets algorithm project file ".csproj" path if it has source code, otherwise null.

Environments: Desktop supported · CLI supported · Cloud not supported.

- Cloud: Never available in the cloud: it is only returned by members that do not work there (AlgoRegistry, AlgoRegistry.Get).

C#:

```csharp
string ProjectFilePath {get;}
```

Python:

```python
algoType.ProjectFilePath: str
```

### Returns

`string` — 

Available since cAlgo.API 5.1.

### Examples

C#:

```csharp
foreach (var algoType in AlgoRegistry)
{
    if (algoType.ProjectFilePath != null)
        Print("{0} project: {1}", algoType.Name, algoType.ProjectFilePath);
}
```

Python:

```python
for algoType in api.AlgoRegistry:
    if algoType.ProjectFilePath is not None:
        api.Print(f"{algoType.Name} project: {algoType.ProjectFilePath}")
```

