Runtime Module
Functions invoked from erased quotations - they run in the *consuming* program, not in the compiler, and must never throw.
Functions and values
| Function or value |
Description
|
Full Usage:
command verb projectPath extra
Parameters:
string
projectPath : string
extra : string list
Returns: string list
|
The argument list for `dotnet
|
Full Usage:
commandString verb projectPath extra
Parameters:
string
projectPath : string
extra : string list
Returns: string
|
|
Full Usage:
commandStringWithPropSetters verb projectPath extra propSetters
Parameters:
string
projectPath : string
extra : string
propSetters : (string * string) list
Returns: string
|
|
Full Usage:
commandWithPropSetters verb projectPath extra propSetters
Parameters:
string
projectPath : string
extra : string list
propSetters : (string * string) list
Returns: string list
|
|
Full Usage:
invalidate projectPath
Parameters:
string
|
Drops everything read for `projectPath`, for a build that changes a project and then wants to read it back.
|
Full Usage:
isAvailable ()
Parameters:
unit
Returns: bool
|
Whether a usable `dotnet` is on PATH in the consuming environment.
|
Full Usage:
property projectPath name
Parameters:
string
name : string
Returns: string
|
The value of a single property. The first read of any project also fetches `defaultProperties`, so the members that share that batch cost one process between them.
|
Full Usage:
readProperties projectPath names
Parameters:
string
names : string list
Returns: Map<string, string>
|
Runs `dotnet msbuild -getProperty:...` for `names`. Returns an empty map when the project cannot be evaluated, `dotnet` is missing, or the evaluation times out.
|
Partas.TypeProvider