# referencesOptions

> Options to control the references that Unity uses during an assembly build.

## 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 ReferencesOptions referencesOptions { get; set; }
```

### Remarks

Set this property to UseEngineModules to build an assembly with UnityEngine module DLLs instead of the default monolithic UnityEngine.dll.

Additional Resources: [ReferencesOptions](/engine/6000.6/script-reference/unityeditor/compilation/referencesoptions.md).
