# Editor.ProjectList.TryAddFromFile

```csharp
Project TryAddFromFile(string path)
```

Tries to add a project from a file. Returns the project, or the existing entry if it was
already in the list, or null if it didn't load. Doesn't save the list - call SaveList.

### Parameters

- `path` (`string`)

### Returns

`Project`

Declared in [Editor.ProjectList](/api/Editor.ProjectList).
Assembly: `Sandbox.Tools`.
