Cake.Cli 2.0.0-rc0001

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
This is a prerelease version of Cake.Cli.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Cake.Cli --version 2.0.0-rc0001
NuGet\Install-Package Cake.Cli -Version 2.0.0-rc0001
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.Cli" Version="2.0.0-rc0001" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cake.Cli --version 2.0.0-rc0001
#r "nuget: Cake.Cli, 2.0.0-rc0001"
#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.Cli as a Cake Addin
#addin nuget:?package=Cake.Cli&version=2.0.0-rc0001&prerelease

// Install Cake.Cli as a Cake Tool
#tool nuget:?package=Cake.Cli&version=2.0.0-rc0001&prerelease


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 net5.0 is compatible.  net5.0-windows was computed.  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 was computed.  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 was computed.  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. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Cake.Cli:

Package Downloads
Cake.Frosting The ID prefix of this package has been reserved for one of the owners of this package by

The .NET Core host for Cake.


Cake scripts, but in a Console app

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.0 183,380 11/18/2023
3.2.0 18,191 11/10/2023
3.1.0 98,874 7/9/2023
3.0.0 431,376 11/8/2022
2.3.0 39,266 10/14/2022
2.2.0 189,343 4/14/2022
2.1.0 58,945 2/20/2022
2.0.0 119,086 11/30/2021
2.0.0-rc0002 1,346 11/27/2021
2.0.0-rc0001 1,301 11/7/2021
1.3.0 67,831 10/7/2021
1.2.0 13,673 8/29/2021
1.1.0 76,488 3/6/2021
1.0.0 48,716 2/7/2021
1.0.0-rc0003 619 1/29/2021
1.0.0-rc0002 2,591 12/20/2020

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
3466 Fix two typos in GitReleaseManagerAliases documentation