Runs MSBuild operations on an MSBuild Project folder.
Environment/Instance Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
MSBUILD Home | FDMSB_MSBUILD_HOME | Yes | The path where the .NET framework is installed. Fill the MSBuild Home up to but not including the bin folder here. (e.g. C:\installs\microsoft\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin) The folder should have a bin folder inside it with the MSBuild executable (MSBuild.exe) Note: You can use Community or Professional version of Microsoft Visual Studio, for documentation purpose we are using Community installation for reference. |
Project Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
Project Location | FDMSB_INP_PROJECT_SOURCE_FOLDER | No | Path to the project which contains one of the supported MSBuild project files. If a relative path is given, a path inside of the FD_TEMP_DIR will be assumed. |
Run Phases | FDMSB_INP_PROJECT_FILE_NAME | No | MSBuild project file name. The file will be searched in the project source folder if provided, otherwise in the exported source folder in the temp directory will be used. |
Command Line Arguments | FDMSB_INP_CMD_LINE_ARGS | No | The MSBuild.exe arguments or properties, formatted as key=value. One pair per line |
Pass Arguments as Properties | FDMSB_INP_PASS_ARGS_AS_PROPERTIES |
| If yes, will prefix /p: before the arguments |
Save Artifacts | FDMSB_INP_SAVE_ARTIFACTS | No | A default set to true |
Artifacts Subfolder | FDMSB_INP_ARTIFACTS_SUBFOLDER | No | Default to the bin. The folder where the MSBuild output files will be placed based on the project configurations |
Outputs
Output Name | Description |
---|---|
Artifacts
This operation produces artifacts if the FDMSB_INP_ARTIFACTS_SUBFOLDER option is checked. Otherwise, you may wish to use the file plugin to move the correct files to the artifacts folder later in the workflow.
Endpoint Selection
This operation delegates endpoint selection to the workflow developer. The workflow editor will default the selection to "All", which selects all available endpoints associated with the environment instance. Selecting a specific resource will result in selection of endpoints associated with the environment instance which have that resource defined.
Endpoint Execution
This operation delegates endpoint execution to the workflow developer. The workflow editor will default to "Any", which will execute on any one of the selected endpoints, which will be randomly picked from selected endpoints or a specific endpoint where the previous step may have executed. Changing this value to "All" will result in execution on all selected endpoints.
...