# Sandbox.Compiler.Configuration

- Kind: struct
- Assembly: `Sandbox.Compiling`
- Modifiers: sealed

## Constructors

- [`Configuration`](/api/Sandbox.Compiler.Configuration/.ctor)

## Properties

- [`AssemblyReferences`](/api/Sandbox.Compiler.Configuration/AssemblyReferences): References to non-package assemblies, by assembly name.
- [`DefineConstants`](/api/Sandbox.Compiler.Configuration/DefineConstants)
- [`DistinctAssemblyReferences`](/api/Sandbox.Compiler.Configuration/DistinctAssemblyReferences): Each unique element of [Sandbox.Compiler.Configuration.AssemblyReferences](/api/Sandbox.Compiler.Configuration/AssemblyReferences)
- [`IgnoreFolders`](/api/Sandbox.Compiler.Configuration/IgnoreFolders): Folders to ignore when walking the tree
- [`NoWarn`](/api/Sandbox.Compiler.Configuration/NoWarn)
- [`Nullables`](/api/Sandbox.Compiler.Configuration/Nullables)
- [`ReleaseMode`](/api/Sandbox.Compiler.Configuration/ReleaseMode): The current release mode. This only matters during local development. Published games are always built in release mode, where optimizations are enabled and debugging is limited (breakpoints, sequence points, and locals may be unavailable).
- [`ReplacementDirectives`](/api/Sandbox.Compiler.Configuration/ReplacementDirectives): Maps file patterns to preprocessor directives they should be wrapped in
- [`RootNamespace`](/api/Sandbox.Compiler.Configuration/RootNamespace)
- [`TreatWarningsAsErrors`](/api/Sandbox.Compiler.Configuration/TreatWarningsAsErrors)
- [`Unsafe`](/api/Sandbox.Compiler.Configuration/Unsafe): If true, we'll compile with /unsafe. This means that the package won't be able to be published on the platform.
- [`WarningsAsErrors`](/api/Sandbox.Compiler.Configuration/WarningsAsErrors)
- [`Whitelist`](/api/Sandbox.Compiler.Configuration/Whitelist): If true, we will be using the whitelist system. If false then this package won't be "sandboxed", so won't be able to be published on the platform.

## Methods

- [`Clean`](/api/Sandbox.Compiler.Configuration/Clean)
- [`GetParseOptions`](/api/Sandbox.Compiler.Configuration/GetParseOptions): Returns the CSharpParseOptions for this configuration, which includes the preprocessor symbols defined in [Sandbox.Compiler.Configuration.DefineConstants](/api/Sandbox.Compiler.Configuration/DefineConstants).
- [`GetPreprocessorSymbols`](/api/Sandbox.Compiler.Configuration/GetPreprocessorSymbols): Fetches the preprocessor symbols, which might've changed based on criteria
