FscHelper
Contains tasks to compiles F# source file with the FSharp.Compiler.Service. There is also a tutorial about the F# compiler tasks available.
Nested types and modules
Type | Description |
Access |
Used to set the Accessiblity of an embeded or linked resource |
DebugType |
Specify debugging type: full, pdbonly. ('full' is the default and enables attaching a debugger to a running program). |
FscParam | |
FscParams |
OBSOLETEUse FscHelper.FscParam instead 'fsc.exe' command line parameters |
FscPlatform |
OBSOLETEUse FscHelper.PlatformType instead The 'fsc.exe' output platforms |
FscTarget |
OBSOLETEUse the FscHelper.TargetType instead The 'fsc.exe' output target types |
Optimization |
Optimization options that can be disabled or enabled selectively by listing them with the optimize compiler flag |
PlatformType |
Limit which platforms the compiled code can run on: x86, Itanium, x64, anycpu32bitpreferred, or anycpu. The default is anycpu. |
Profile |
Specify target framework profile of this assembly. Valid values are mscorlib or netcore. Default - mscorlib |
ResourceInfo |
Specified path of a managed resource with an optional name alias and accessiblity flag
resinfo format is |
TargetType |
Functions and values
Function or value | Description | ||
compile fscParams inputFiles
Signature: fscParams:FscParam list -> inputFiles:string list -> int
|
Compiles the given F# source files with the specified parameters. Parameters
ReturnsThe exit status code of the compile process. Sample
|
||
Compile fscParams inputFiles
Signature: fscParams:FscParam list -> inputFiles:string list -> unit
|
Compiles one or more F# source files with the specified parameters. Parameters
Sample
|
||
compileFiles srcFiles opts
Signature: srcFiles:string list -> opts:string list -> int
|
Compiles the given source file with the given options. If no options given (i.e. the second argument is an empty list), by default tries to behave the same way as would the command-line 'fsc.exe' tool. |
||
fsc setParams inputFiles
Signature: setParams:(FscParams -> FscParams) -> inputFiles:string list -> int
Attributes: [<Obsolete("Use FscHelper.compile instead")>] |
OBSOLETEUse FscHelper.compile instead Compiles the given F# source files with the specified parameters. Parameters
ReturnsThe exit status code of the compile process. Sample
|
||
Fsc setParams inputFiles
Signature: setParams:(FscParams -> FscParams) -> inputFiles:string list -> unit
Attributes: [<Obsolete("Use FscHelper.Compile instead")>] |
OBSOLETEUse FscHelper.Compile instead Compiles one or more F# source files with the specified parameters. Parameters
Sample
|
||
fscList srcFiles opts
Signature: srcFiles:string list -> opts:string list -> int
Attributes: [<Obsolete("Use FscHelper.compileFiles instead")>] |
OBSOLETEUse FscHelper.compileFiles instead Compiles the given source file with the given options. If no options given (i.e. the second argument is an empty list), by default tries to behave the same way as would the command-line 'fsc.exe' tool. |
||
resourceStr(arg1, arg2, arg3)
Signature: (string * string option * Access option) -> string
|