MSBuild Module
Contains tasks which allow to use MSBuild (or xBuild on Linux/Unix) to build .NET project files or solution files.
Types
Type | Description |
Functions and values
Function or value | Description |
Full Usage:
MSBuild.build setParams project
Parameters:
MSBuildParams -> MSBuildParams
-
A function that overwrites the default MSBuildParams
project : string
-
A string with the path to the project file to build.
|
Example
|
Full Usage:
MSBuild.buildWebsite outputPath projectFile
Parameters:
string
-
The output path.
projectFile : string
-
The project file path.
|
|
Full Usage:
MSBuild.buildWebsiteConfig setParams outputPath configuration projectFile
Parameters:
MSBuildParams -> MSBuildParams
-
A function that overwrites the default MSBuildParams
outputPath : string
-
The output path.
configuration : string
-
MSBuild configuration.
projectFile : string
-
The project file path.
|
Builds the given web project file in the specified configuration and copies it to the given outputPath.
|
Full Usage:
MSBuild.buildWebsites outputPath projectFiles
Parameters:
MSBuildParams -> MSBuildParams
-
The output path.
projectFiles : string
-
The project file paths.
Returns: seq<string> -> unit
|
Builds the given web project files with debug configuration and copies them to the given websiteDir.
|
Full Usage:
MSBuild.buildWebsitesConfig setParams outputPath configuration projectFiles
Parameters:
MSBuildParams -> MSBuildParams
-
A function that overwrites the default MSBuildParams
outputPath : string
-
The output path.
configuration : string
-
MSBuild configuration.
projectFiles : seq<string>
-
The project file paths.
|
Builds the given web project files in specified configuration and copies them to the given outputPath.
|
Full Usage:
MSBuild.buildWithRedirect setParams project
Parameters:
MSBuildParams -> MSBuildParams
-
A function that overwrites the default MSBuildParams
project : string
-
A string with the path to the project file to build.
Returns: int * List<ConsoleMessage>
|
|
Full Usage:
MSBuild.msBuildExe
Returns: string
|
|
Full Usage:
MSBuild.run setParams outputPath targets properties projects
Parameters:
MSBuildParams -> MSBuildParams
-
A function that overwrites the default MSBuildParams
outputPath : string
-
If it is null or empty then the project settings are used.
targets : string
-
A string with the target names which should be run by MSBuild.
properties : (string * string) list
-
A list with tuples of property name and property values.
projects : seq<string>
-
A list of project or solution files.
Returns: string list
|
|
Full Usage:
MSBuild.runDebug setParams outputPath targets projects
Parameters:
MSBuildParams -> MSBuildParams
-
A function that overwrites the default MSBuildParams
outputPath : string
-
If it is null or empty then the project settings are used.
targets : string
-
A string with the target names which should be run by MSBuild.
projects : seq<string>
-
A list of project or solution files.
Returns: string list
|
|
Full Usage:
MSBuild.runRelease setParams outputPath targets projects
Parameters:
MSBuildParams -> MSBuildParams
-
A function that overwrites the default MSBuildParams
outputPath : string
-
If it is null or empty then the project settings are used.
targets : string
-
A string with the target names which should be run by MSBuild.
projects : seq<string>
-
A list of project or solution files.
Returns: string list
|
|
Full Usage:
MSBuild.runReleaseExt setParams outputPath properties targets projects
Parameters:
MSBuildParams -> MSBuildParams
-
A function that overwrites the default MSBuildParams
outputPath : string
-
If it is null or empty then the project settings are used.
properties : (string * string) list
-
A list with tuples of property name and property values.
targets : string
-
A string with the target names which should be run by MSBuild.
projects : seq<string>
-
A list of project or solution files.
Returns: string list
|
|
Full Usage:
MSBuild.runWithDefaults targets projects
Parameters:
string
-
A string with the target names which should be run by MSBuild.
projects : seq<string>
-
A list of project or solution files.
Returns: string list
|
|
Full Usage:
MSBuild.runWithProperties setParams outputPath targets properties projects
Parameters:
MSBuildParams -> MSBuildParams
-
A function that overwrites the default MSBuildParams
outputPath : string
-
If it is null or empty then the project settings are used.
targets : string
-
A string with the target names which should be run by MSBuild.
properties : string -> (string * string) list
-
A list with tuples of property name and property values.
projects : seq<string>
-
A list of project or solution files.
Returns: string list
|
|