build setParams project
Signature: setParams:(MSBuildParams -> MSBuildParams) -> project:string -> unit
|
Runs a MSBuild project
Parameters
setParams - A function that overwrites the default MsBuildParams
project - A string with the path to the project file to build.
Sample
let buildMode = getBuildParamOrDefault "buildMode" "Release"
let setParams defaults =
{ defaults with
Verbosity = Some(Quiet)
Targets = ["Build"]
Properties =
[
"Optimize", "True"
"DebugSymbols", "True"
"Configuration", buildMode
]
}
build setParams "./MySolution.sln"
|> DoNothing
|
BuildWebsite outputPath projectFile
Signature: outputPath:string -> projectFile:string -> unit
|
Builds the given web project file in debug mode and copies it to the given websiteDir.
Parameters
outputPath - The output path.
projectFile - The project file path.
|
BuildWebsites websiteDir projectFiles
Signature: websiteDir:string -> projectFiles:seq<string> -> unit
|
Builds the given web project files in debug mode and copies them to the given websiteDir.
Parameters
outputPath - The output path.
projectFiles - The project file paths.
|
MSBuild (...)
Signature: outputPath:string -> targets:string -> properties:(string * string) list -> projects:seq<string> -> string list
|
Builds the given project files or solution files and collects the output files.
Parameters
outputPath - If it is null or empty then the project settings are used.
targets - A string with the target names which should be run by MSBuild.
properties - A list with tuples of property name and property values.
projects - A list of project or solution files.
|
MSBuildDebug outputPath targets projects
Signature: outputPath:string -> targets:string -> projects:seq<string> -> string list
|
Builds the given project files or solution files and collects the output files.
Parameters
outputPath - If it is null or empty then the project settings are used.
targets - A string with the target names which should be run by MSBuild.
projects - A list of project or solution files.
|
MSBuildDefaults
Signature: MSBuildParams
|
Defines a default for MSBuild task parameters
|
msBuildExe
Signature: string
|
Tries to detect the right version of MSBuild.
- On Linux/Unix Systems we use xBuild.
- On Windows we try to find a "MSBuild" build parameter or read the MSBuild tool location from the AppSettings file.
|
MSBuildLoggers
Signature: string list
|
Defines the loggers to use for MSBuild task
|
MSBuildRelease (...)
Signature: outputPath:string -> targets:string -> projects:seq<string> -> string list
|
Builds the given project files or solution files and collects the output files.
Parameters
outputPath - If it is null or empty then the project settings are used.
targets - A string with the target names which should be run by MSBuild.
projects - A list of project or solution files.
|
MSBuildReleaseExt (...)
Signature: outputPath:string -> properties:(string * string) list -> targets:string -> projects:seq<string> -> string list
|
Builds the given project files or solution files in release mode and collects the output files.
Parameters
outputPath - If it is null or empty then the project settings are used.
properties - A list with tuples of property name and property values.
targets - A string with the target names which should be run by MSBuild.
projects - A list of project or solution files.
|
MSBuildWithDefaults targets projects
Signature: targets:string -> projects:seq<string> -> string list
|
Builds the given project files or solution files in release mode to the default outputs.
Parameters
targets - A string with the target names which should be run by MSBuild.
projects - A list of project or solution files.
|
MSBuildWithProjectProperties (...)
Signature: outputPath:string -> targets:string -> properties:(string -> (string * string) list) -> projects:seq<string> -> string list
|
Builds the given project files and collects the output files.
Parameters
outputPath - If it is null or empty then the project settings are used.
targets - A string with the target names which should be run by MSBuild.
properties - A list with tuples of property name and property values.
projects - A list of project or solution files.
|