Header menu logo F# Compiler Guide

FSharpProjectOptions Type

A set of information describing a project or script build configuration.

Record fields

Record Field Description

IsIncompleteTypeCheckEnvironment

Full Usage: IsIncompleteTypeCheckEnvironment

Field type: bool

When true, the typechecking environment is known a priori to be incomplete, for example when a .fs file is opened outside of a project. In this case, the number of error messages reported is reduced.

Field type: bool

LoadTime

Full Usage: LoadTime

Field type: DateTime

Timestamp of project/script load, used to differentiate between different instances of a project load. This ensures that a complete reload of the project or script type checking context occurs on project or script unload/reload.

Field type: DateTime

OriginalLoadReferences

Full Usage: OriginalLoadReferences

Field type: (range * string * string) list

Unused in this API and should be '[]' when used as user-specified input

Field type: (range * string * string) list

OtherOptions

Full Usage: OtherOptions

Field type: string[]

Additional command line argument options for the project. These can include additional files and references.

Field type: string[]

ProjectFileName

Full Usage: ProjectFileName

Field type: string
Field type: string

ProjectId

Full Usage: ProjectId

Field type: string option

This is the unique identifier for the project, it is case-sensitive. If it's None, will key off of ProjectFileName in our caching.

Field type: string option

ReferencedProjects

Full Usage: ReferencedProjects

Field type: FSharpReferencedProject[]

The command line arguments for the other projects referenced by this project, indexed by the exact text used in the "-r:" reference in FSharpProjectOptions.

Field type: FSharpReferencedProject[]

SourceFiles

Full Usage: SourceFiles

Field type: string[]

The files in the project

Field type: string[]

Stamp

Full Usage: Stamp

Field type: int64 option

An optional stamp to uniquely identify this set of options If two sets of options both have stamps, then they are considered equal if and only if the stamps are equal

Field type: int64 option

UnresolvedReferences

Full Usage: UnresolvedReferences

Field type: FSharpUnresolvedReferencesSet option

Unused in this API and should be 'None' when used as user-specified input

Field type: FSharpUnresolvedReferencesSet option

UseScriptResolutionRules

Full Usage: UseScriptResolutionRules

Field type: bool

When true, use the reference resolution rules for scripts rather than the rules for compiler.

Field type: bool

Type something to start searching.