FscParam

Union Cases

Union CaseDescription
BaseAddress(address)
Signature: string

Base address for the library to be built

Checked(on)
Signature: bool

Generate overflow checks

Codepage(n)
Signature: int

Specify the codepage used to read source files

ConsoleColors(on)
Signature: bool

Output warning and error messages in color

CrossOptimize(on)
Signature: bool

Enable or disable cross-module optimizations

Debug(on)
Signature: bool

Emit debug information

DebugType(debugType)
Signature: DebugType

Specify debugging type: full, pdbonly. ('full' is the default and enables attaching a debugger to a running program).

Define(symbol)
Signature: string

Define a conditional compilation symbols

Definitions(symbols)
Signature: string list

Define a list of conditional compilation symbols

DelaySign(on)
Signature: bool

Delay-sign the assembly using only the public portion of the strong name key

Doc(file)
Signature: string

Write the xmldoc of the assembly to the given file

FullPaths
Signature:

Output messages with fully qualified paths

Help
Signature:

Display the commandline flags and their usage

HighEntropyVA(on)
Signature: bool

Enable high-entropy ASLR

KeyContainer(name)
Signature: string

Specify a strong name key container

KeyFile(file)
Signature: string

Specify a strong name key file

Lib(directories)
Signature: string list

Specify a directory for the include path which is used to resolve source files and assemblies

LinkResource(resInfo)
Signature: ResourceInfo

Link the specified resource to this assembly

MLCompatibility
Signature:

Ignore ML compatibility warnings

NoFramework
Signature:

Do not reference the default CLI assemblies by default

NoInterfacedata
Signature:

Don't add a resource to the generated assembly containing F#-specific metadata

NoLogo
Signature:

Suppress compiler copyright message

NoOptimizationData
Signature:

Only include optimization information essential for implementing inlined constructs. Inhibits cross-module inlining but improves binary compatibility.

NoWarn(warningCodes)
Signature: int list

Disable specific warning messages

NoWin32Manifest
Signature:

Do not include the default Win32 manifest

Optimize(on,optimizations)
Signature: bool * Optimization list

Enable optimizations

Out(file)
Signature: string

Name of the output file

Pdb(debugFile)
Signature: string

Name the output debug file

Platform(platform)
Signature: PlatformType

Limit which platforms the compiled code can run on:

QuotationsDebug(on)
Signature: bool

Emit debug information in quotations

Reference(dllPath)
Signature: string

Reference an assembly

References(dllPaths)
Signature: string list

Reference assemblies in the order listed

Resource(resInfo)
Signature: ResourceInfo

Embed the specified managed resource

Sig(file)
Signature: string

Print the inferred interface of the assembly to a file

SimpleResolution
Signature:

Resolve assembly references using directory-based rules rather than MSBuild resolution

Standalone
Signature:

Statically link the F# library and all referenced DLLs that depend on it into the assembly being generated

StaticLink(assemblyName)
Signature: string

Statically link the given assembly and all referenced DLLs that depend on this assembly. Use an assembly name e.g. mylib, not a DLL name.

SubsystemVersion(version)
Signature: string

Specifies the version of the OS subsystem to be used by the generated executable. Use 6.02 for Windows 8, 6.01 for Windows 7, 6.00 for Windows Vista. This option only applies to executables, not DLL and need only be used if your application depends on specific security features available only on certain versions of the OS

Tailcalls(on)
Signature: bool

Enable or disable tailcalls

Target(TargetType)
Signature: TargetType

The 'fsc.exe' output target types : exe, winexe, library, module

TargetProfile(profile)
Signature: Profile

Specify target framework profile of this assembly.

Times
Signature:

Displays timing information for compilation.

Utf8Output
Signature:

Output messages in UTF-8 encoding

Warn(level)
Signature: int

Set a warning level (0-5)

WarnAsError(on)
Signature: bool

Report all warnings as errors

WarnAsErrors(on,warningCodes)
Signature: bool * int list

Report specific warnings as errors

WarnOn(warningCodes)
Signature: int list

Enable specific warnings that may be off by default

Win32Manifest(file)
Signature: string

Specify a Win32 manifest file

Win32res(file)
Signature: string

Specify a Win32 resource file (.res)

Static members

Static memberDescription
FscParam.Defaults
Signature: FscParam list