# Sandbox.Resources.ResourceCompileContext.AddCompiledReference

```csharp
void AddCompiledReference(string path)
```

Another asset's compiled output this compile reads, by the path of its source (a texture whose pixels are
copied, a model whose skeleton is used), before reading it. A content build compiles that asset first and
rebuilds this one when it changes. Declare every one even while [Sandbox.Resources.ResourceCompileContext.Describing](/api/Sandbox.Resources.ResourceCompileContext/Describing).

### Parameters

- `path` (`string`)

Declared in [Sandbox.Resources.ResourceCompileContext](/api/Sandbox.Resources.ResourceCompileContext).
Assembly: `Sandbox.Engine`.
