# Editor.ProjectPublisher.AddFile

## Overload 1

```csharp
System.Threading.Tasks.Task AddFile(byte[] contents, string relativePath)
```

Manually add a file to the manifest

### Parameters

- `contents` (`byte[]`)
- `relativePath` (`string`)

### Returns

`System.Threading.Tasks.Task`

## Overload 2

```csharp
System.Threading.Tasks.Task AddFile(string contents, string relativePath)
```

Manually add a file to the manifest

### Parameters

- `contents` (`string`)
- `relativePath` (`string`)

### Returns

`System.Threading.Tasks.Task`

Declared in [Editor.ProjectPublisher](/api/Editor.ProjectPublisher).
Assembly: `Sandbox.Tools`.
