Skip to content

Related Projects

Roman Kuzmin edited this page Jul 30, 2016 · 7 revisions

OneBuild is a modular set of convention based .NET solution build scripts written in PowerShell, relying on Invoke-Build for task automation.


A PowerShell task runner based on Invoke-Build. PowerTasks was created in order to remove the boilerplate code from build scripts.


A Visual Studio Team Services extension which contains a build task that runs Invoke-Build build scripts.


This repo contain an example/template that could be used when adding a build script to a project.

  • We have a PowerShell script that runs the build. This script does everything, including gathering dependencies, generating version numbers, compiling, running tests, building and publishing NuGet packages. A build on TeamCity should, ideally, be a call to this script, and it should produce the same output as running it locally.
  • We use Invoke-Build as our 'make'.
  • We have a build\_init.ps1 script that defines the entry points for the PowerShell commands.
  • We use RedGate.Build as a useful library of build-related functions.