# Editor.ProjectPublisher.AddCodePackageReference

```csharp
System.Threading.Tasks.Task AddCodePackageReference(string package)
```

If the code is referencing a package - we can add it to the manifest using this.

### Parameters

- `package` (`string`)

### Returns

`System.Threading.Tasks.Task`

Declared in [Editor.ProjectPublisher](/api/Editor.ProjectPublisher).
Assembly: `Sandbox.Tools`.
