# excludeReferences

> References to exclude when compiling the assembly.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.Compilation](/engine/6000.6/script-reference/unityeditor/compilation.md)
* **Assembly:** UnityEditor.CoreModule

> **Warning:**
>
> **Deprecated.** This feature is being deprecated and will be removed in the future. Similar functionality can be achieved using the Roslyn compiler

```csharp
public string[] excludeReferences { get; set; }
```

### Remarks

References paths are relative to project root and must include full filename with .dll extension.

Additional Resources: [AssemblyBuilder.Build](/engine/6000.6/script-reference/unityeditor/compilation/assemblybuilder/build.md).
