HPluginCompilationConfiguration Properties |
The HPluginCompilationConfiguration type exposes the following members.
Name | Description | |
---|---|---|
![]() | ClearTemporaryFilesWhenDone |
If true, the ReferencesInMemory that were written to temporary disk copies will be deleted once the compile operation is complete.
|
![]() | CompilerArguments |
Command-line arguments provided to CompilerParameters.CompilerOptions during plugin compile. By default, this is "/optimize".
|
![]() | DeleteOutputFilesFromDiskWhenDone |
If true, the generated assembly and its pdb will be deleted from the disk once the compilation has finished.
|
![]() | DiskOutputDirectory |
Directory where the compiled output files will be placed. Set to null to use the default.
|
![]() | ReferencesInMemory |
List of all references that are in memory.
HPluginAssemblyCompiler.Compile() will write temporary disk copies of these files to a temporary folder for CodeDom to reference.
|
![]() | ReferencesOnDisk |
List of paths to all references needed for plugin compilation (i.e. Terraria.exe and its extracted dependencies).
Must be file paths on the disk, since CodeDom cannot use in-memory assemblies.
|
![]() | ReuseTemporaryFiles |
If true, ReferencesInMemory won't be written to temporary disk copies, and the contents of the folder will be re-used instead.
|
![]() | SingleAssemblyOutput |
If true, all source files will be compiled into a single output assembly.
If false, each source file will be compiled into its own assembly.
|
![]() | SourceFiles |
List of paths to all CS source files to use.
|
![]() | UserFilesRootDirectory |
Path to the root IO.PluginsUserFilesFolder directory that contains that SourceFiles.
|