This version of Unity is unsupported.
Method group is Obsolete

AssemblyBuilder.referencesOptions

Obsolete This feature is being deprecated and will be removed in the future. Similar functionality can be achieved using the Roslyn compiler. public Compilation.ReferencesOptions referencesOptions;

Description

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

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

See Also: ReferencesOptions.