Click or drag to resize

HPluginCompilationConfiguration Properties

The HPluginCompilationConfiguration type exposes the following members.

Properties
  NameDescription
Public propertyClearTemporaryFilesWhenDone
If true, the ReferencesInMemory that were written to temporary disk copies will be deleted once the compile operation is complete.
Public propertyCompilerArguments
Command-line arguments provided to CompilerParameters.CompilerOptions during plugin compile. By default, this is "/optimize".
Public propertyDeleteOutputFilesFromDiskWhenDone
If true, the generated assembly and its pdb will be deleted from the disk once the compilation has finished.
Public propertyDiskOutputDirectory
Directory where the compiled output files will be placed. Set to null to use the default.
Public propertyReferencesInMemory
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.
Public propertyReferencesOnDisk
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.
Public propertyReuseTemporaryFiles
If true, ReferencesInMemory won't be written to temporary disk copies, and the contents of the folder will be re-used instead.
Public propertySingleAssemblyOutput
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.
Public propertySourceFiles
List of paths to all CS source files to use.
Public propertyUserFilesRootDirectory
Path to the root IO.PluginsUserFilesFolder directory that contains that SourceFiles.
Top
See Also