# Sandbox.CodeArchive

- Kind: class
- Namespace: `Sandbox`
- Assembly: `Sandbox.Compiling`

## Constructors

- [`CodeArchive`](/api/Sandbox.CodeArchive/.ctor)

## Properties

- [`AdditionalFiles`](/api/Sandbox.CodeArchive/AdditionalFiles): Additional files that the compiler/generator needs. This is going to be .razor files.
- [`CompilerName`](/api/Sandbox.CodeArchive/CompilerName): The name of the compiler
- [`Configuration`](/api/Sandbox.CodeArchive/Configuration): The compiler's configuration settings
- [`FileHashMap`](/api/Sandbox.CodeArchive/FileHashMap): Hashes of source files, used for incremental compiles. Not serialized right now.
- [`FileMap`](/api/Sandbox.CodeArchive/FileMap): Converts the syntax tree paths from physical paths to project local paths
- [`References`](/api/Sandbox.CodeArchive/References): References that this compiler/generator needs to compile the code
- [`SyntaxTrees`](/api/Sandbox.CodeArchive/SyntaxTrees): The syntax trees that should be compiled
- [`Version`](/api/Sandbox.CodeArchive/Version): The version of the code archive 1005 - Inital version 1006 - Razor updates. Add razor namespaces on older versions. 1007 - Razor changed to our own Microsoft.AspNetCore.Components assembly

## Methods

- [`Serialize`](/api/Sandbox.CodeArchive/Serialize): Serialize to a byte array
