Table of Contents

Hx_NetBuild

The target performs building of the specified solution file. It deletes specified extra files, deletes speified extra folders, cleans specified extra folders, runs the 'Restore' and then 'Clean' MSBuild targets, runs 'Restore' and then 'Build' MSBuild targets. Afterwards, the target copies .sln, 'bin' and 'obj' folders, *.props, *.*proj and custom artifacts files to the artifacts directory, which then can be uploaded to artifacts storage and then re-used by other targets, i.e. 'Hx_NetTest', 'Hx_NetNugetPush' etc.

Properties

Hx_NetBuild_ArtifactsDir

A path to the NetBuild artifacts directory. Default is '$Hx_Run_ArtifactsDir/NetBuild'.

Hx_NetBuild_SlnFile

A path to the solution file to build. Default is '$Hx_WS_Dir/*.sln'.

Hx_NetBuild_SnkFile

The file with public/private keys pair to sign assemblies, if specified.

Hx_NetBuild_Version

The semantic version. It is passed as '/p:Version' property to the 'Build' target. Default is a version retrieved from '$Hx_ChangeLog_ArtifactsDir/semver.txt'.

Hx_NetBuild_AssemblyVersion

The .NET Assembly version, like '1.0.0.0'. It is passed as '/p:AssemblyVersion' property to the Build target. Default version is composed as '$Hx_NetBuild_Version.$Hx_Run_Number'.

Hx_NetBuild_ReleaseNotesFile

A text file with package release notes. It is passed as /p:PackageReleaseNotes property into the Build target. Default is '$Hx_ChangeLog_ArtifactsDir/ReleaseNotes.txt'.

Items

Hx_NetBuild_DeleteFiles

Custom extra files to delete during cleaning.

Hx_NetBuild_DeleteDirs

Custom extra directories to delete during cleaning.

Hx_NetBuild_CleanDirs

Custom extra directories to clean, but not delete during cleaning.

Hx_NetBuild_CustomArtifactsFiles

Custom extra files to be copied to the artifacts directory.