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.
<PackageVersion Include="Cake" Version="1.3.0" />
                    
Directory.Packages.props
<PackageReference Include="Cake" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version 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.
#addin nuget:?package=Cake&version=1.3.0
                    
Install Cake as a Cake Addin
#tool nuget:?package=Cake&version=1.3.0
                    
Install Cake as a Cake Tool

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 (73)

Showing the top 20 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.
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.
Code52/carnac
A utility to give some insight into how you use your keyboard
Topshelf/Topshelf
An easy service hosting framework for building Windows services using .NET
mongodb/mongo-csharp-driver
The Official C# .NET Driver for MongoDB
BrighterCommand/Brighter
A framework for building messaging apps with .NET and C#.
KSP-CKAN/CKAN
The Comprehensive Kerbal Archive Network
chocolatey/ChocolateyGUI
A delicious GUI for Chocolatey
VitalElement/AvalonStudio
Cross platform IDE and Shell
cloudscribe/cloudscribe
ASP.NET Core multi-tenant web application foundation with management for sites, users, roles, claims and more
awaescher/RepoZ
👨‍💻 A zero-conf git repository hub for Windows and macOS with Windows Explorer- & CLI-enhancements
nlkl/Optional
A robust option type for C#
mono/Embeddinator-4000
Tools to turn .NET libraries into native libraries that can be consumed on Android, iOS, Mac, Linux and other platforms.
zsims/hunt-and-peck
Simple vimium/vimperator style navigation for Windows applications based on the UI Automation framework.
dotless/dotless
.NET Port of the ruby Less CSS lib
CommunityToolkit/Lottie-Windows
Lottie-Windows is a library (and related tools) for rendering Lottie animations on Windows 10 and Windows 11.
xamarin/Xamarin.Auth
Xamarin.Auth
smstuebe/xamarin-fingerprint
Xamarin and MvvMCross plugin for authenticate a user via fingerprint sensor
Version Downloads Last updated
1.3.0 1,223,867 10/7/2021 1.3.0 is deprecated because it is no longer maintained.
1.2.0 61,807 8/29/2021 1.2.0 is deprecated because it is no longer maintained.
1.1.0 259,652 3/6/2021 1.1.0 is deprecated because it is no longer maintained.
1.0.0 94,059 2/7/2021 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc0003 5,956 1/29/2021 1.0.0-rc0003 is deprecated because it is no longer maintained.
1.0.0-rc0002 10,261 12/20/2020 1.0.0-rc0002 is deprecated because it is no longer maintained.
1.0.0-rc0001 14,467 11/5/2020 1.0.0-rc0001 is deprecated because it is no longer maintained.
0.38.5 1,370,429 9/20/2020 0.38.5 is deprecated because it is no longer maintained.
0.38.4 640,694 6/26/2020 0.38.4 is deprecated because it is no longer maintained.
0.38.3 3,391 6/26/2020 0.38.3 is deprecated because it is no longer maintained.
0.38.2 134,888 6/9/2020 0.38.2 is deprecated because it is no longer maintained.
0.38.1 39,960 5/30/2020 0.38.1 is deprecated because it is no longer maintained.
0.38.0 34,542 5/30/2020 0.38.0 is deprecated because it is no longer maintained.
0.37.0 1,428,635 2/1/2020 0.37.0 is deprecated because it is no longer maintained.
0.36.0 203,812 1/11/2020 0.36.0 is deprecated because it is no longer maintained.
0.35.0 741,835 9/28/2019 0.35.0 is deprecated because it is no longer maintained.
0.34.1 796,919 7/17/2019 0.34.1 is deprecated because it is no longer maintained.
0.34.0 28,750 7/16/2019 0.34.0 is deprecated because it is no longer maintained.
0.33.0 641,671 4/1/2019 0.33.0 is deprecated because it is no longer maintained.
0.32.1 524,595 1/4/2019 0.32.1 is deprecated because it is no longer maintained.
0.32.0 39,319 1/4/2019 0.32.0 is deprecated because it is no longer maintained.
0.31.0 73,167 12/13/2018 0.31.0 is deprecated because it is no longer maintained.
0.30.0 3,856,294 8/22/2018 0.30.0 is deprecated because it is no longer maintained.
0.29.0 109,030 7/6/2018 0.29.0 is deprecated because it is no longer maintained.
0.28.1 81,887 6/19/2018 0.28.1 is deprecated because it is no longer maintained.
0.28.0 77,684 5/31/2018 0.28.0 is deprecated because it is no longer maintained.
0.27.2 61,313 5/15/2018 0.27.2 is deprecated because it is no longer maintained.
0.27.1 74,324 4/21/2018 0.27.1 is deprecated because it is no longer maintained.
0.27.0 13,283 4/19/2018 0.27.0 is deprecated because it is no longer maintained.
0.26.1 213,230 3/3/2018 0.26.1 is deprecated because it is no longer maintained.
0.26.0 57,352 2/26/2018 0.26.0 is deprecated because it is no longer maintained.
0.25.0 548,197 1/17/2018 0.25.0 is deprecated because it is no longer maintained.
0.24.0 128,012 12/29/2017 0.24.0 is deprecated because it is no longer maintained.
0.23.0 429,032 10/11/2017 0.23.0 is deprecated because it is no longer maintained.
0.22.2 96,346 9/17/2017 0.22.2 is deprecated because it is no longer maintained.
0.22.1 6,995 9/16/2017 0.22.1 is deprecated because it is no longer maintained.
0.22.0 78,767 9/13/2017 0.22.0 is deprecated because it is no longer maintained.
0.21.1 406,571 7/15/2017 0.21.1 is deprecated because it is no longer maintained.
0.21.0 42,936 7/14/2017 0.21.0 is deprecated because it is no longer maintained.
0.20.0 237,668 6/12/2017 0.20.0 is deprecated because it is no longer maintained.
0.19.5 160,158 5/4/2017 0.19.5 is deprecated because it is no longer maintained.
0.19.4 200,707 4/18/2017 0.19.4 is deprecated because it is no longer maintained.
0.19.3 29,133 4/4/2017 0.19.3 is deprecated because it is no longer maintained.
0.19.2 21,960 4/1/2017 0.19.2 is deprecated because it is no longer maintained.
0.19.1 25,747 3/24/2017 0.19.1 is deprecated because it is no longer maintained.
0.19.0 23,873 3/23/2017 0.19.0 is deprecated because it is no longer maintained.
0.18.0 63,379 3/7/2017 0.18.0 is deprecated because it is no longer maintained.
0.17.0 206,144 11/9/2016 0.17.0 is deprecated because it is no longer maintained.
0.16.2 25,583 10/11/2016 0.16.2 is deprecated because it is no longer maintained.
0.16.1 12,075 9/25/2016 0.16.1 is deprecated because it is no longer maintained.
0.16.0 88,297 9/15/2016 0.16.0 is deprecated because it is no longer maintained.
0.15.2 64,137 7/29/2016 0.15.2 is deprecated because it is no longer maintained.
0.15.1 5,592 7/28/2016 0.15.1 is deprecated because it is no longer maintained.
0.15.0 9,738 7/26/2016 0.15.0 is deprecated because it is no longer maintained.
0.14.0 13,378 7/11/2016 0.14.0 is deprecated because it is no longer maintained.
0.13.0 13,281 6/7/2016 0.13.0 is deprecated because it is no longer maintained.
0.12.0 89,156 5/25/2016 0.12.0 is deprecated because it is no longer maintained.
0.11.0 32,310 5/1/2016 0.11.0 is deprecated because it is no longer maintained.
0.10.1 15,284 4/7/2016 0.10.1 is deprecated because it is no longer maintained.
0.10.0 11,818 3/16/2016 0.10.0 is deprecated because it is no longer maintained.
0.9.0 144,071 2/23/2016 0.9.0 is deprecated because it is no longer maintained.
0.8.0 10,588 1/18/2016 0.8.0 is deprecated because it is no longer maintained.
0.7.0 7,386 12/23/2015 0.7.0 is deprecated because it is no longer maintained.
0.6.4 12,194 12/9/2015 0.6.4 is deprecated because it is no longer maintained.
0.6.3 4,709 12/7/2015 0.6.3 is deprecated because it is no longer maintained.
0.6.2 4,988 12/3/2015 0.6.2 is deprecated because it is no longer maintained.
0.6.1 5,477 12/2/2015 0.6.1 is deprecated because it is no longer maintained.
0.6.0 8,693 11/4/2015 0.6.0 is deprecated because it is no longer maintained.
0.5.5 6,215 10/11/2015 0.5.5 is deprecated because it is no longer maintained.
0.5.4 10,224 9/11/2015 0.5.4 is deprecated because it is no longer maintained.
0.5.3 5,535 8/31/2015 0.5.3 is deprecated because it is no longer maintained.
0.5.2 6,054 8/15/2015 0.5.2 is deprecated because it is no longer maintained.
0.5.1 6,446 7/27/2015 0.5.1 is deprecated because it is no longer maintained.
0.5.0 6,426 7/20/2015 0.5.0 is deprecated because it is no longer maintained.
0.4.3 5,254 7/5/2015 0.4.3 is deprecated because it is no longer maintained.
0.4.2 6,418 5/27/2015 0.4.2 is deprecated because it is no longer maintained.
0.4.1 5,029 5/18/2015 0.4.1 is deprecated because it is no longer maintained.
0.4.0 5,431 5/12/2015 0.4.0 is deprecated because it is no longer maintained.
0.3.2 6,887 4/16/2015 0.3.2 is deprecated because it is no longer maintained.
0.2.2 5,300 3/31/2015 0.2.2 is deprecated because it is no longer maintained.
0.2.1 6,324 3/17/2015 0.2.1 is deprecated because it is no longer maintained.
0.2.0 4,851 3/15/2015 0.2.0 is deprecated because it is no longer maintained.
0.1.34 5,109 3/2/2015 0.1.34 is deprecated because it is no longer maintained.
0.1.33 5,422 2/24/2015 0.1.33 is deprecated because it is no longer maintained.
0.1.32 5,525 2/10/2015 0.1.32 is deprecated because it is no longer maintained.
0.1.30 5,188 2/8/2015 0.1.30 is deprecated because it is no longer maintained.
0.1.29 5,141 1/28/2015 0.1.29 is deprecated because it is no longer maintained.
0.1.28 5,032 1/18/2015 0.1.28 is deprecated because it is no longer maintained.
0.1.27 5,335 1/13/2015 0.1.27 is deprecated because it is no longer maintained.
0.1.26 4,718 1/11/2015 0.1.26 is deprecated because it is no longer maintained.
0.1.25 5,562 1/1/2015 0.1.25 is deprecated because it is no longer maintained.
0.1.24 5,285 12/12/2014 0.1.24 is deprecated because it is no longer maintained.
0.1.23 5,182 11/21/2014 0.1.23 is deprecated because it is no longer maintained.
0.1.22 5,124 11/20/2014 0.1.22 is deprecated because it is no longer maintained.
0.1.21 5,310 9/23/2014 0.1.21 is deprecated because it is no longer maintained.
0.1.20 5,270 9/14/2014 0.1.20 is deprecated because it is no longer maintained.
0.1.19 5,534 9/3/2014 0.1.19 is deprecated because it is no longer maintained.
0.1.18 5,456 8/21/2014 0.1.18 is deprecated because it is no longer maintained.
0.1.17 5,351 7/29/2014 0.1.17 is deprecated because it is no longer maintained.
0.1.16 5,392 7/23/2014 0.1.16 is deprecated because it is no longer maintained.
0.1.15 5,431 7/20/2014 0.1.15 is deprecated because it is no longer maintained.
0.1.14 5,345 7/16/2014 0.1.14 is deprecated because it is no longer maintained.
0.1.13 5,127 7/10/2014 0.1.13 is deprecated because it is no longer maintained.
0.1.12 5,397 7/10/2014 0.1.12 is deprecated because it is no longer maintained.
0.1.11 5,182 7/1/2014 0.1.11 is deprecated because it is no longer maintained.
0.1.10 5,104 7/1/2014 0.1.10 is deprecated because it is no longer maintained.
0.1.9 5,444 6/28/2014 0.1.9 is deprecated because it is no longer maintained.
0.1.8 5,678 6/24/2014 0.1.8 is deprecated because it is no longer maintained.
0.1.7 5,446 6/20/2014 0.1.7 is deprecated because it is no longer maintained.
0.1.6 5,781 6/17/2014 0.1.6 is deprecated because it is no longer maintained.
0.1.5 5,418 6/16/2014 0.1.5 is deprecated because it is no longer maintained.
0.1.4 5,522 6/15/2014 0.1.4 is deprecated because it is no longer maintained.
0.1.3 5,460 6/14/2014 0.1.3 is deprecated because it is no longer maintained.
0.1.2 5,559 6/13/2014 0.1.2 is deprecated because it is no longer maintained.
0.1.1 5,460 6/12/2014 0.1.1 is deprecated because it is no longer maintained.
0.1.0 6,026 6/11/2014 0.1.0 is deprecated because it is no longer maintained.
0.0.8 5,992 6/11/2014 0.0.8 is deprecated because it is no longer maintained.
0.0.7 6,179 6/10/2014 0.0.7 is deprecated because it is no longer maintained.
0.0.6 5,546 6/6/2014 0.0.6 is deprecated because it is no longer maintained.
0.0.5 6,031 6/6/2014 0.0.5 is deprecated because it is no longer maintained.
0.0.4 6,263 6/5/2014 0.0.4 is deprecated because it is no longer maintained.
0.0.3 5,865 6/4/2014 0.0.3 is deprecated because it is no longer maintained.
0.0.2 5,986 6/4/2014 0.0.2 is deprecated because it is no longer maintained.

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