There are two recommended options to build BenchmarkDotNet from source:
Once all the necessary tools are in place, building is trivial. Simply open solution file BenchmarkDotNet.sln that lives at the base of the repository and run Build action.
Cake (C# Make) is a cross platform build automation system with a C# DSL to do things like compiling code, copy files/folders, running unit tests, compress files and build NuGet packages.
The build currently depends on the following prerequisites:
- PowerShell version 5 or higher
- MSBuild version 15.1 or higher
- .NET Framework 4.6 or higher
In order to run various build tasks from terminal, use
build.cmd file in the repository root.
build.cmd is a cross-platform script that can be used the same way on Windows, Linux, and macOS.
When executed without arguments, it prints help information with list of all available build tasks.