MS Build

Kovair DevOps MS Build Integration Plugin

MS Build
Listen to this article

MS Build Plugin Details

Plugin Version: 1.0.1
Last Update on: December 20, 2019

Overview

The Microsoft Build Engine is a platform for building applications. This engine, which is also known as MSBuild, provides an XML schema for a project file that controls how the build platform processes and builds software. Visual Studio uses MSBuild, but it doesn’t depend on Visual Studio. By invoking msbuild.exe on your project or solution file.

MSBuild Information:

More information can be found at  MSBuild.

Version Supported:

This plugin was developed and tested against version present on Visual Studio 2017 and 2019.

Plugin Operation:

  1. BuildProject
  2. This operation allows to build a project:

    Input parameter(s):

    ParameterIs MandatoryHelp Text
    Project PathtrueVisual studio project file directory path. Note. During publish any service if a project path have mutiple service then mention th exact location.
    Ex : C:\Visual Studio 2013\Projects\abc.csproj
    MSBuild.exe PathtrueMSBuild.exe directory path.Ex: C:\Program Files (x86)\MSBuild\12.0\Bin

    Output parameter(s):

    ParameterHelp Text
    MSBuildStatusFinal BuildProject job status.
    BuildStartTimeTime when the build was started.
    BuildTimeTotal time taken to build the project.

    Pass/Fail Condition:

    StatusRequired string in outputlog
    Passed‘Build succeeded.’
    Failed‘Build FAILED.’ or any error occurs in execution.
  3. PublishProject
  4. This operation allows to publish a project:

    Input parameter(s):

    ParameterIs MandatoryHelp Text
    Project PathtrueVisual studio project file directory path. Note. During publish any service if a project path have mutiple service then mention th exact location.
    Ex : C:\Visual Studio 2013\Projects\abc.csproj
    MSBuild.exe PathtrueMSBuild.exe directory path.
    Ex: C:\Program Files (x86)\MSBuild\12.0\Bin
    Profile NamefalseVisual Studio publish profile name Note: If no profile present leave this field as empty
    Publish PathfalseTarget Location, Note: will be published with default configuration.Ex : C:\Visual Studio 2013\Projects\Publish

    Output parameter(s):

    ParameterHelp Text
    MSBuildStatusFinal BuildProject job status.
    BuildStartTimeTime when the build was started.
    BuildTimeTotal time taken to build the project.

    Pass/Fail Condition:

    StatusRequired string in outputlog
    Passed‘Build succeeded.’
    Failed‘Build FAILED.’ or any error occurs in execution.

Disclaimer:

  1. If more than one project is present in the project path,correct project name should be specified in the project path.
  2. Only website type project will be published using PublishProject method.
  3. Microsoft provides various options, that can be supplied while building/publishing projects in the build command. such options are not supported currently.

Release Details:

MS Build: 1.0.1
Initial version with basic functionalities.

Contact us:

Yes, I accept the Privacy Statement and want to receive latest information from Kovair.
EnglishFrenchGermanItalianJapaneseSpanishChinese (Simplified)