CSharpScriptExecution.CompileAssembly
Compiles a class and creates an assembly from the compiled class.
Assembly is stored on the .Assembly
property. Use noLoad()
to bypass loading of the assembly
Must include parameterless ctor()
public bool CompileAssembly(string source, bool noLoad)
Parameters
source
Source code
noLoad
if set doesn't load the assembly (useful only when OutputAssembly is set)