Click or drag to resize

HPluginAssemblyCompiler Class

Provider of the compiled assemblies that contain the usercode HPlugins.
Inheritance Hierarchy
SystemObject
  com.tiberiumfusion.ttplugins.HarmonyPluginsHPluginAssemblyCompiler

Namespace:  com.tiberiumfusion.ttplugins.HarmonyPlugins
Assembly:  TTPlugins (in TTPlugins.dll) Version: 1.2.0.1 (1.2.0.1)
Syntax
public static class HPluginAssemblyCompiler
Request Example View Source

The HPluginAssemblyCompiler type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberDefaultOutputFilesDirectory
Name of the output folder which will be created to contain the generated dll and pdb files from the compile process.
Public propertyStatic memberTemporaryFilesDirectory
Name of the temporary folder which will be created on disk if necessary during the assembly compilation (such as for referencing in-memory assemblies with CodeDom)
Top
Methods
  NameDescription
Public methodStatic memberClearTemporaryCompileFiles
Deletes all files inside the TemporaryFilesDirectory, then removes the directory.
Public methodStatic memberCompile
Compiles and returns a list of assemblies using the provided configuration.
Public methodStatic memberTryLoadCommonDotNetAssemblies
Attempts to load some of the more common .NET assemblies into the current AppDomain for plugin compilation.
Public methodStatic memberTryLoadDotNetTerrariaReferences
Attempts to load the specific assemblies which Terraria references into the current AppDomain for plugin compilation. Only loads "regular" assemblies, i.e. those that exist on-disk and are not embedded in Terraria itself.
Public methodStatic memberTryRemoveDirectory
Deletes all files inside the specified directory, then removes the directory.
Top
See Also