Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found
here.
If the API is already migrated you can check
here if exists in a module.
More information regarding the migration can be found
here
OBSOLETE
This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.
Contains tasks to compile C# source files with CSC.EXE (C# Compiler).
Type | Description |
CscParams
|
OBSOLETE
This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.
Compiler parameters
|
CscPlatform
|
OBSOLETE
This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.
Supported platforms
|
CscTarget
|
OBSOLETE
This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.
Supported output types
|
Function or value | Description |
csc setParams inputFiles
Signature: setParams:(CscParams -> CscParams) -> inputFiles:string list -> int
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
|
OBSOLETE
This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.
Compiles the given C# source files with the specified parameters.
Parameters
setParams - Function used to overwrite the default CSC parameters.
inputFiles - The C# input files.
Returns
The exit status code of the compile process.
Sample
1:
2:
3:
4:
5:
|
["file1.cs"; "file2.cs"]
|> csc (fun parameters ->
{ parameters with Output = ...
Target = ...
... })
|
|
Csc setParams inputFiles
Signature: setParams:(CscParams -> CscParams) -> inputFiles:string list -> unit
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
|
OBSOLETE
This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.
Compiles one or more C# source files with the specified parameters.
Parameters
setParams - Function used to overwrite the default CSC parameters.
inputFiles - The C# input files.
Sample
1:
2:
3:
4:
5:
|
["file1.cs"; "file2.cs"]
|> Csc (fun parameters ->
{ parameters with Output = ...
Target = ...
... })
|
|
cscExe toolPath srcFiles opts
Signature: toolPath:string -> srcFiles:string list -> opts:string list -> int
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
|
OBSOLETE
This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.
|