class Compiler

robot_2Generated
code_blocksInput

Description

The Compiler class in the Sandbox namespace is responsible for compiling a set of C# source files into an assembly. It provides various methods and properties to manage the compilation process, including adding source paths, setting configurations, and handling build outputs.

Members

Instance Members

Member NameSummary
UpdateFromArchiveUpdates the compiler with a new code archive.
BuildBuild and load the assembly.
AddSourcePathAdds a new source path to the compiler.
SetConfigurationSets the compiler configuration.
GetConfigurationGets the current compiler configuration.
NotifyFastHotloadNotifies the compiler of a fast hotload version.
DisposeDisposes of the compiler resources.
DependencyIndexGets the dependency index for a given depth.
MarkForRecompileRecompile this as soon as is appropriate.
AddReferenceAdds a reference to the compiler.
HasReferenceChecks if a reference exists in the compiler.
WatchForChangesWatch the filesystem for changes to our C# files, and trigger a recompile if they change.
GroupEach compiler must belong to a compile group.
OutputThe output from the previous build.
BuildingIndicates if this addon is still building.
NameName of the project this compiler was created for.
UseAbsoluteSourcePathsDetermines if absolute source paths are used during development.
DiagnosticsA list of warnings and errors created by the last build.
AssemblyNameGenerated assembly name, without an extension.
GeneratedCodeGlobal namespaces.
FileSystemAn aggregate of all the filesystem this compiler has.
BuildResultResults for the assembly build, containing warnings or errors.
BuildSuccessAccesses Output.Successful.