Suggested Alternatives

Cake.Tool

Additional Details

We recommend using the Cake dotnet tool moving forward - https://cakebuild.net/blog/2021/11/cake-v2.0.0-rc0001-released#supported-runners-and-required.net-version

dotnet add package Cake --version 1.3.0
NuGet\Install-Package Cake -Version 1.3.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Cake" Version="1.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cake --version 1.3.0
#r "nuget: Cake, 1.3.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Cake as a Cake Addin
#addin nuget:?package=Cake&version=1.3.0

// Install Cake as a Cake Tool
#tool nuget:?package=Cake&version=1.3.0

Cake

Cake (C# Make) is a 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.

Table of Contents

  1. Documentation
  2. Contributing
  3. Get in touch
  4. License

Documentation

You can read the latest documentation at https://cakebuild.net/.

For a simple example to get started see Setting up a new project.

Contributing

So you’re thinking about contributing to Cake? Great! It’s really appreciated.

Make sure you've read the contribution guidelines before sending that epic pull request. You'll also need to sign the contribution license agreement (CLA) for anything other than a trivial change. NOTE: The .NET Foundation CLA Bot will provide a link to this CLA within the PR that you submit if it is deemed as required.

  • Fork the repository.
  • Create a branch to work in.
  • Make your feature addition or bug fix.
  • Don't forget the unit tests.
  • Send a pull request.

Get in touch

Follow @cakebuildnet

Join the chat at https://github.com/cake-build/cake/discussions

License

Copyright © .NET Foundation, Patrik Svensson, Mattias Karlsson, Gary Ewan Park, Alistair Chapman, Martin Björkström, Dave Glick, Pascal Berger, Jérémie Desautels, Enrico Campidoglio, C. Augusto Proiete, Nils Andresen, and contributors.

Cake is provided as-is under the MIT license. For more information see LICENSE.

Thanks

A big thank you has to go to JetBrains who provide each of the Cake Developers with an Open Source License for ReSharper that helps with the development of Cake.

Sponsors

Our wonderful sponsors:

Sponsors

Backers

Our wonderful backers:

Backers

Code of Conduct

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct.

Contribution License Agreement

By signing the CLA, the community is free to use your contribution to .NET Foundation projects.

.NET Foundation

This project is supported by the .NET Foundation.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Cake:

Package Downloads
ScriptCs.Cake

Get a simple Cake context in your ScriptCs scripts

Cake.TeamCityCoverageReporter

Package Description

Codestellation.Nova.CakeBuild

Cake build tools

GitHub repositories (71)

Showing the top 5 popular GitHub repositories that depend on Cake:

Repository Stars
chocolatey/choco
Chocolatey - the package manager for Windows
CommunityToolkit/WindowsCommunityToolkit
The Windows Community Toolkit is a collection of helpers, extensions, and custom controls. It simplifies and demonstrates common developer tasks building .NET apps with UWP and the Windows App SDK / WinUI 3 for Windows 10 and Windows 11. The toolkit is part of the .NET Foundation.
HandyOrg/HandyControl
Contains some simple and commonly used WPF controls
Live-Charts/Live-Charts
Simple, flexible, interactive & powerful charts, maps and gauges for .Net
AngleSharp/AngleSharp
:angel: The ultimate angle brackets parser library parsing HTML5, MathML, SVG and CSS to construct a DOM based on the official W3C specifications.
Version Downloads Last updated
1.3.0 861,769 10/7/2021
1.2.0 60,173 8/29/2021
1.1.0 248,095 3/6/2021
1.0.0 89,154 2/7/2021
1.0.0-rc0003 5,483 1/29/2021
1.0.0-rc0002 9,829 12/20/2020
1.0.0-rc0001 13,967 11/5/2020
0.38.5 1,193,723 9/20/2020
0.38.4 558,197 6/26/2020
0.38.3 2,847 6/26/2020
0.38.2 130,047 6/9/2020
0.38.1 38,230 5/30/2020
0.38.0 26,798 5/30/2020
0.37.0 1,248,984 2/1/2020
0.36.0 200,640 1/11/2020
0.35.0 670,305 9/28/2019
0.34.1 750,888 7/17/2019
0.34.0 27,736 7/16/2019
0.33.0 604,349 4/1/2019
0.32.1 477,637 1/4/2019
0.32.0 37,969 1/4/2019
0.31.0 72,020 12/13/2018
0.30.0 3,838,817 8/22/2018
0.29.0 103,191 7/6/2018
0.28.1 81,129 6/19/2018
0.28.0 76,701 5/31/2018
0.27.2 60,588 5/15/2018
0.27.1 73,232 4/21/2018
0.27.0 12,383 4/19/2018
0.26.1 211,289 3/3/2018
0.26.0 55,901 2/26/2018
0.25.0 531,101 1/17/2018
0.24.0 126,904 12/29/2017
0.23.0 407,197 10/11/2017
0.22.2 89,079 9/17/2017
0.22.1 6,341 9/16/2017
0.22.0 77,157 9/13/2017
0.21.1 404,418 7/15/2017
0.21.0 39,434 7/14/2017
0.20.0 236,839 6/12/2017
0.19.5 156,784 5/4/2017
0.19.4 200,002 4/18/2017
0.19.3 27,839 4/4/2017
0.19.2 21,302 4/1/2017
0.19.1 25,211 3/24/2017
0.19.0 23,258 3/23/2017
0.18.0 62,428 3/7/2017
0.17.0 203,821 11/9/2016
0.16.2 24,559 10/11/2016
0.16.1 11,442 9/25/2016
0.16.0 87,682 9/15/2016
0.15.2 62,958 7/29/2016
0.15.1 4,987 7/28/2016
0.15.0 9,112 7/26/2016
0.14.0 12,732 7/11/2016
0.13.0 12,326 6/7/2016
0.12.0 88,373 5/25/2016
0.11.0 31,579 5/1/2016
0.10.1 14,778 4/7/2016
0.10.0 11,288 3/16/2016
0.9.0 143,404 2/23/2016
0.8.0 9,944 1/18/2016
0.7.0 6,772 12/23/2015
0.6.4 11,465 12/9/2015
0.6.3 4,136 12/7/2015
0.6.2 4,324 12/3/2015
0.6.1 4,809 12/2/2015
0.6.0 7,928 11/4/2015
0.5.5 5,521 10/11/2015
0.5.4 9,185 9/11/2015
0.5.3 4,992 8/31/2015
0.5.2 5,491 8/15/2015
0.5.1 5,762 7/27/2015
0.5.0 5,730 7/20/2015
0.4.3 4,665 7/5/2015
0.4.2 5,772 5/27/2015
0.4.1 4,342 5/18/2015
0.4.0 4,683 5/12/2015
0.3.2 5,974 4/16/2015
0.2.2 4,593 3/31/2015
0.2.1 5,639 3/17/2015
0.2.0 4,188 3/15/2015
0.1.34 4,425 3/2/2015
0.1.33 4,686 2/24/2015
0.1.32 4,864 2/10/2015
0.1.30 4,526 2/8/2015
0.1.29 4,446 1/28/2015
0.1.28 4,357 1/18/2015
0.1.27 4,731 1/13/2015
0.1.26 4,185 1/11/2015
0.1.25 4,872 1/1/2015
0.1.24 4,683 12/12/2014
0.1.23 4,500 11/21/2014
0.1.22 4,503 11/20/2014
0.1.21 4,647 9/23/2014
0.1.20 4,596 9/14/2014
0.1.19 4,819 9/3/2014
0.1.18 4,633 8/21/2014
0.1.17 4,638 7/29/2014
0.1.16 4,719 7/23/2014
0.1.15 4,762 7/20/2014
0.1.14 4,685 7/16/2014
0.1.13 4,475 7/10/2014
0.1.12 4,719 7/10/2014
0.1.11 4,553 7/1/2014
0.1.10 4,492 7/1/2014
0.1.9 4,803 6/28/2014
0.1.8 4,941 6/24/2014
0.1.7 4,648 6/20/2014
0.1.6 5,000 6/17/2014
0.1.5 4,668 6/16/2014
0.1.4 4,807 6/15/2014
0.1.3 4,664 6/14/2014
0.1.2 4,993 6/13/2014
0.1.1 4,733 6/12/2014
0.1.0 5,249 6/11/2014
0.0.8 5,140 6/11/2014
0.0.7 5,359 6/10/2014
0.0.6 4,838 6/6/2014
0.0.5 5,246 6/6/2014
0.0.4 5,395 6/5/2014
0.0.3 5,054 6/4/2014
0.0.2 5,131 6/4/2014

3469 Add support for .NET 6
3493 .NET CLI Build Binary log filenames aren't quoted correctly
3477 parsing of solution files with absolute paths to  projects throws exception
3455 NuGet Resolver native dependencies fails on latest macOS
3352 Cake Frosting Parent DirectoryPath Fails To Combine with Slash
3291 Unable to retrieve target argument with Frosting
2048 DotNetCoreToolSettings.WorkingDirectory is not respected when running DotNetCoreTool
3521 Update Microsoft.NETCore.Platforms to 6.0.0-rc.1.21451.13
3519 Update Spectre.Console to 0.42.0
3503 Add NuGet Sources argument to DotNetCoreTestSettings
3502 Add NuGet Sources argument to DotNetCoreRunSettings
3501 Add NuGet Sources argument to DotNetCorePackSettings
3464 Support MSBuild version 17
3452 Missing option in InspectCodeSettings: `--build` and `--no-build` flags
3449 Add Version, AssemblyVersion, FileVersion, and AssemblyInformationalVersion properties to DotNetCoreMSBuildSettings
3447 Add ContinuousIntegrationBuild to DotNetCoreMSBuildSettings
3445 Highlight failed tasks on summary when Error handler is defined
3237 Allow setting MSBuildToolVersion using custom string - Part 1
3065 Add DOTNET_ROLL_FORWARD setting to DotNetCoreSettings
2165 DotNetCore Build misses Sources settings
2104 Make possibility to set Process Exit Code
1882 DeleteDirectory throws exception if directory doesn't exist
3515 Add a simple README to the packages to be shown on NuGet.org
3466 Fix two typos in GitReleaseManagerAliases documentation