type

CompileCs

class CompileCs : Task

Run the C# compiler to produce an exe or dll.

constructors

make

Initialize the .NET environment fields for csc.exe.

fields

cscExe

C# compiler executable: {dotnetHomeDir}/csc.exe

dotnetHomeDir

Home directory for .NET installation configured via config prop

libs

List of dll libraries to link in

output

Output file created by the compiler.

src

List of source files or directories to compile

targetType

Output target type

methods

run

Run the csc task

Slot Details

cscExe

File cscExe

C# compiler executable: {dotnetHomeDir}/csc.exe

dotnetHomeDir

File? dotnetHomeDir

Home directory for .NET installation configured via config prop

libs

File[]? libs

List of dll libraries to link in

make

new make(BuildScript script)

Initialize the .NET environment fields for csc.exe.

output

File? output

Output file created by the compiler.

run

virtual override Void run()

Run the csc task

src

File[] src := File[,]

List of source files or directories to compile

targetType

Str? targetType

Output target type