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

Install-Package Cake -Version 1.3.0
dotnet add package Cake --version 1.3.0
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Cake, 1.3.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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.

This package has no dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Cake:

Package Downloads
Cake.TeamCityCoverageReporter

Package Description

ScriptCs.Cake

Get a simple Cake context in your ScriptCs scripts

Codestellation.Nova.CakeBuild

Cake build tools

GitHub repositories (93)

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

Repository Stars
Live-Charts/Live-Charts
Simple, flexible, interactive & powerful charts, maps and gauges for .Net
CommunityToolkit/WindowsCommunityToolkit
The Windows Community Toolkit is a collection of helpers, extensions, and custom controls. It simplifies and demonstrates common developer tasks building UWP and .NET apps for Windows 10. The toolkit is part of the .NET Foundation.
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.
Topshelf/Topshelf
An easy service hosting framework for building Windows services using .NET
HandyOrg/HandyControl
Contains some simple and commonly used WPF controls
Version Downloads Last updated
1.3.0 42,670 10/7/2021
1.2.0 34,794 8/29/2021
1.1.0 197,320 3/6/2021
1.0.0 67,332 2/7/2021
1.0.0-rc0003 3,340 1/29/2021
1.0.0-rc0002 8,112 12/20/2020
1.0.0-rc0001 11,933 11/5/2020
0.38.5 686,645 9/20/2020
0.38.4 388,763 6/26/2020
0.38.3 492 6/26/2020
0.38.2 99,130 6/9/2020
0.38.1 29,063 5/30/2020
0.38.0 7,647 5/30/2020
0.37.0 832,495 2/1/2020
0.36.0 178,822 1/11/2020
0.35.0 491,073 9/28/2019
0.34.1 504,097 7/17/2019
0.34.0 22,185 7/16/2019
0.33.0 518,945 4/1/2019
0.32.1 359,365 1/4/2019
0.32.0 34,108 1/4/2019
0.31.0 60,140 12/13/2018
0.30.0 3,000,719 8/22/2018
0.29.0 84,862 7/6/2018
0.28.1 78,418 6/19/2018
0.28.0 71,802 5/31/2018
0.27.2 57,733 5/15/2018
0.27.1 67,298 4/21/2018
0.27.0 9,473 4/19/2018
0.26.1 205,749 3/3/2018
0.26.0 49,825 2/26/2018
0.25.0 485,552 1/17/2018
0.24.0 120,878 12/29/2017
0.23.0 369,348 10/11/2017
0.22.2 77,628 9/17/2017
0.22.1 3,671 9/16/2017
0.22.0 68,555 9/13/2017
0.21.1 393,952 7/15/2017
0.21.0 37,053 7/14/2017
0.20.0 233,965 6/12/2017
0.19.5 153,723 5/4/2017
0.19.4 197,481 4/18/2017
0.19.3 25,623 4/4/2017
0.19.2 18,786 4/1/2017
0.19.1 21,670 3/24/2017
0.19.0 20,868 3/23/2017
0.18.0 58,561 3/7/2017
0.17.0 199,578 11/9/2016
0.16.2 22,160 10/11/2016
0.16.1 9,101 9/25/2016
0.16.0 85,140 9/15/2016
0.15.2 58,943 7/29/2016
0.15.1 2,350 7/28/2016
0.15.0 6,466 7/26/2016
0.14.0 10,290 7/11/2016
0.13.0 9,920 6/7/2016
0.12.0 86,227 5/25/2016
0.11.0 29,016 5/1/2016
0.10.1 12,278 4/7/2016
0.10.0 8,640 3/16/2016
0.9.0 140,848 2/23/2016
0.8.0 7,944 1/18/2016
0.7.0 4,267 12/23/2015
0.6.4 8,838 12/9/2015
0.6.3 1,877 12/7/2015
0.6.2 1,893 12/3/2015
0.6.1 1,911 12/2/2015
0.6.0 5,526 11/4/2015
0.5.5 3,014 10/11/2015
0.5.4 3,665 9/11/2015
0.5.3 2,473 8/31/2015
0.5.2 3,008 8/15/2015
0.5.1 3,400 7/27/2015
0.5.0 3,172 7/20/2015
0.4.3 2,338 7/5/2015
0.4.2 3,251 5/27/2015
0.4.1 2,004 5/18/2015
0.4.0 1,960 5/12/2015
0.3.2 3,249 4/16/2015
0.2.2 2,221 3/31/2015
0.2.1 2,953 3/17/2015
0.2.0 1,971 3/15/2015
0.1.34 2,116 3/2/2015
0.1.33 2,376 2/24/2015
0.1.32 2,367 2/10/2015
0.1.30 1,943 2/8/2015
0.1.29 1,948 1/28/2015
0.1.28 1,953 1/18/2015
0.1.27 1,959 1/13/2015
0.1.26 1,868 1/11/2015
0.1.25 2,284 1/1/2015
0.1.24 2,092 12/12/2014
0.1.23 2,109 11/21/2014
0.1.22 1,967 11/20/2014
0.1.21 2,007 9/23/2014
0.1.20 1,900 9/14/2014
0.1.19 1,947 9/3/2014
0.1.18 1,926 8/21/2014
0.1.17 1,897 7/29/2014
0.1.16 1,913 7/23/2014
0.1.15 1,865 7/20/2014
0.1.14 1,872 7/16/2014
0.1.13 1,858 7/10/2014
0.1.12 1,806 7/10/2014
0.1.11 1,943 7/1/2014
0.1.10 1,880 7/1/2014
0.1.9 1,931 6/28/2014
0.1.8 2,123 6/24/2014
0.1.7 1,941 6/20/2014
0.1.6 1,890 6/17/2014
0.1.5 1,871 6/16/2014
0.1.4 2,059 6/15/2014
0.1.3 1,897 6/14/2014
0.1.2 1,898 6/13/2014
0.1.1 1,893 6/12/2014
0.1.0 2,052 6/11/2014
0.0.8 1,877 6/11/2014
0.0.7 2,055 6/10/2014
0.0.6 2,023 6/6/2014
0.0.5 1,874 6/6/2014
0.0.4 2,051 6/5/2014
0.0.3 1,863 6/4/2014
0.0.2 1,928 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