nBuildKit is a collection of tools and scripts that provide an easy way to set-up a complete build and deployment for a (.NET) project.
The build scripts provide the following default abilities:
- Clear previously created files from the workspace.
- Restore any missing NuGet packages for the project.
- Calculate the version based on the selected method of determining version numbers. Currently available methods are:
- Getting the version through a custom calculation method.
- Getting the version from a XML file.
- Using the GitVersion application to get the version.
- Using the GitHubFlowVersion application to get the version.
- Gather the release notes via the GitReleaseNotes application.
- Gather information about the current revision number and the working branch. Currently only GIT is supported.
- Generate one or more files from custom templates.
- Analyse sources with the CCM application.
- Analyse sources with the SourceMonitor application.
- Build one or more Visual Studio solutions each with their own build configuration and platform.
- Execute unit tests and calculate code coverage. Code coverage reports can optionally be processed by ReportGenerator. Currently supported test frameworks are
- Analyse the created binaries with Moma.
- Analyse the created binaries with FxCop.
- Generate API documentation with Sandcastle.
- Package the created binaries with:
- NuGet
- Zip archives
Build steps can be executed in any order providing the prerequisites for a build step are provided. Additionally custom build steps can be added at any point in the sequence.
Available scripts
nBuildKit currently has build scripts that use:
- [[MsBuild|MsBuild]] as the script 'language'.
Build scripts for other languages may be added at a later stage.
Building and contributing
The following pages provide the information necessary to build a local copy of the library and to contribute to the library.
- [[How to build|Building]]
- [[How to contribute|Contributing]]