BuildCs
abstract class BuildCs : BuildScript
BuildCs is the base class for build scripts used to manage building C# source code into a .NET exe or dll.
Required output file created by the compiler
Required list of directories to compile
Should we skip compiling .NET code? Default only runs C# compiler if running on Windows
Required output type
List of libraries to link to
Compile C# source into exe or dll
Delete all intermediate and target files
Run clean, compile
@Target { help=... }
Void clean()
Delete all intermediate and target files
@Target { help="Compile C# source into exe or dll" }
Void compile()
Compile C# source into exe or dll
virtual Void dumpEnv()
@Target { help="Run clean, compile" }
Void full()
Run clean, compile
Uri[] : libs
List of libraries to link to.
Uri? : output
Required output file created by the compiler.
Bool : skip
Should we skip compiling .NET code? Default only runs C# compiler if running on Windows.
Uri[]? : srcDirs
Required list of directories to compile. All C# source files in each directory will be compiled.
Str? : targetType
Required output type. Possible values are exe, winexe, library or module.