Method Compile
- Namespace
- Alternet.FormDesigner.Wpf.Roslyn
- Assembly
- Alternet.FormDesigner.Roslyn.Wpf.v10.dll
Compile(string, string, string, bool, IList<string>, string[], string[])
Compiles the script.
public CompileResult Compile(string assemblyPath, string assemblyFileName, string assemblyTarget, bool generateOnDisk, IList<string> references, string[] fileNames, string[] resourceFiles)
Parameters
assemblyPath
stringThe script assembly file path.
assemblyFileName
stringThe script assembly file name.
assemblyTarget
stringThe assembly target, dll, console and so on.
generateOnDisk
boolSpecifies whether compilation result should be saved on the disk.
references
IList<string>List of external assemblies referenced from the script.
fileNames
string[]List of file names to be compiled.
resourceFiles
string[]List of embedded resource files.
Returns
- CompileResult
Result of the compilation.