Cake.Tool 4.0.0

Prefix Reserved
dotnet tool install --global Cake.Tool --version 4.0.0                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local Cake.Tool --version 4.0.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Cake.Tool&version=4.0.0                
nuke :add-package Cake.Tool --version 4.0.0                


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


You can read the latest documentation at

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


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


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.


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.


Our wonderful sponsors:



Our wonderful 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.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
4.0.0 4,193,638 11/18/2023
3.2.0 3,361,409 11/10/2023
3.1.0 5,126,914 7/9/2023
3.0.0 8,598,951 11/8/2022
2.3.0 7,789,413 10/14/2022
2.2.0 10,265,637 4/14/2022
2.1.0 12,139,810 2/20/2022
2.0.0 7,315,369 11/30/2021
2.0.0-rc0002 17,032 11/27/2021
2.0.0-rc0001 30,497 11/7/2021
1.3.0 6,143,857 10/7/2021
1.2.0 4,511,113 8/29/2021
1.1.0 4,385,230 3/6/2021
1.0.0 2,917,576 2/7/2021
1.0.0-rc0003 30,378 1/29/2021
1.0.0-rc0002 122,958 12/20/2020
1.0.0-rc0001 110,541 11/5/2020
0.38.5 2,440,600 9/20/2020
0.38.4 1,539,171 6/26/2020
0.38.3 261,255 6/26/2020
0.38.2 122,215 6/9/2020
0.38.1 95,818 5/30/2020
0.38.0 15,375 5/30/2020
0.37.0 1,581,072 2/1/2020
0.36.0 948,584 1/11/2020
0.35.0 1,262,430 9/28/2019
0.34.1 1,024,597 7/17/2019
0.34.0 77,198 7/16/2019
0.33.0 860,747 4/1/2019
0.32.1 686,418 1/4/2019
0.32.0 75,492 1/4/2019
0.31.0 409,551 12/13/2018
0.30.0 124,770 8/22/2018

4266 Update LatestPotentialBreakingChange to 4.0.0.
4132 Add File APIs for setting timestamps (creation time, last write time, last access time).
4250 Update System.Collections.Immutable to 8.0.0.
4260 Unzip alias should support overwrite files.
4251 Update System.Reflection.Metadata 8.0.0.
4249 Update Microsoft.Extensions.DependencyInjection to 8.0.0.
4197 Execution of Cake script fails if an addin defines an alias that uses nullable reference types in its signature.
4150 Cake script is contributing unactionable diagnostics in VS Code Problems pane.