Name
csc
Synopsis
Compiles C# source code. Currently works on platforms containing the
csc.exe executable, i.e., various flavors of
Windows.
Attributes
-
additionalmodules(1.3, 1.4, String, N) A semicolon-delimited list of additional modules, which are DLLs containing metadata. This is equivalent to
csc’s/addmoduleparameter.-
debug(1.3, 1.4, boolean, N) If
true, include debug information. Defaults totrue.-
defaultexcludes(1.3, 1.4, boolean, N) Determines whether to use default excludes. Defaults to
true.-
definitions(1.3, 1.4, String, N) List of definitions passed to
csc.exe, delimited by ";“, ":“, or "," — for instance,DEBUG;BETA_TEST.-
docfile(1.3, 1.4, File, N) The name of a file for generated XML documentation.
-
excludes(1.3, 1.4, String, N) A comma-separated list of file patterns to exclude.
-
excludesfile(1.3, 1.4, File, N) The name of a file containing one exclude pattern per line.
-
extraoptions(1.3, 1.4, String, N) Extra options passed directly to the
csc.execommand.-
failonerror(1.3, 1.4, boolean, N) If
true, the task fails the build when the compile returns an error. Defaults totrue.-
fullpaths(1.4, boolean, N) If
true, the task prints the full path of files when errors occur. Defaults totrue.-
includedefaultreferences(1.3, 1.4, boolean, N) If
true, the task includes common assemblies found in .NET beta 1, and in links inmscore.dll. Defaults totrue.-
includes(1.3, 1.4, String, N) A comma-separated list of file patterns to include.
-
includesfile(1.3, 1.4, File, N) The name of a ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access