Cake.Core
7.0.0
Prefix Reserved
dotnet add package Cake.Core --version 7.0.0
NuGet\Install-Package Cake.Core -Version 7.0.0
<PackageReference Include="Cake.Core" Version="7.0.0" />
<PackageVersion Include="Cake.Core" Version="7.0.0" />
<PackageReference Include="Cake.Core" />
paket add Cake.Core --version 7.0.0
#r "nuget: Cake.Core, 7.0.0"
#:package Cake.Core@7.0.0
#addin nuget:?package=Cake.Core&version=7.0.0
#tool nuget:?package=Cake.Core&version=7.0.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
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
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.
- For Roslyn, see https://github.com/dotnet/roslyn/blob/master/License.txt
- For Microsoft.Extensions.DependencyInjection, see https://github.com/dotnet/runtime/blob/main/LICENSE.TXT
- For Spectre.Console, see https://github.com/spectreconsole/spectre.console/blob/main/LICENSE.md
- For NuGet.Core, see https://github.com/NuGet/Home/blob/dev/LICENSE.txt
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:
Backers
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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net11.0 is compatible. |
-
net10.0
- No dependencies.
-
net11.0
- No dependencies.
NuGet packages (119)
Showing the top 5 NuGet packages that depend on Cake.Core:
| Package | Downloads |
|---|---|
|
Cake.Cli
The Cake CLI library. |
|
|
Cake.Common
Provides aliases (extension methods on Cake context) that support CI, build, unit tests, zip, signing, etc. for Cake. |
|
|
Cake.DotNetTool.Module
Cake Module that extends Cake with ability to install tools using dotnet cli. |
|
|
Cake.NuGet
Cake Module providing NuGet install capabilities for i.e. preprocessor directives like #addin, #tool and #load |
|
|
Cake.Frosting
The .NET Core host for Cake. |
GitHub repositories (6)
Showing the top 6 popular GitHub repositories that depend on Cake.Core:
| Repository | Stars |
|---|---|
|
FastReports/FastReport
Free Open Source Reporting tool for .NET6/.NET Core/.NET Framework that helps your application generate document-like reports
|
|
|
xamarin/XamarinComponents
Plugins for Xamarin
|
|
|
dotnet/Nerdbank.GitVersioning
Stamp your assemblies, packages and more with a unique version generated from a single, simple version.json file and include git commit IDs for non-official builds.
|
|
|
daveaglick/Scripty
Tools to let you use Roslyn-powered C# scripts for code generation
|
|
|
axzxs2001/Asp.NetCoreExperiment
原来所有项目都移动到**OleVersion**目录下进行保留。新的案例装以.net 5.0为主,一部分对以前案例进行升级,一部分将以前的工作经验总结出来,以供大家参考!
|
|
|
Wyamio/Wyam
A modular static content and static site generator.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 7.0.0 | 0 | 11/10/2026 |
| 6.3.0 | 490,166 | 9/14/2026 |
| 6.2.0 | 1,049,307 | 5/22/2026 |
| 6.1.0 | 859,418 | 3/1/2026 |
| 6.0.0 | 797,426 | 11/11/2025 |
| 5.1.0 | 281,375 | 10/4/2025 |
| 5.0.0 | 1,415,052 | 11/12/2024 |
| 4.2.0 | 60,991 | 10/23/2024 |
| 4.1.0 | 2,397 | 10/23/2024 |
| 4.0.0 | 893,497 | 11/18/2023 |
| 3.2.0 | 67,674 | 11/10/2023 |
| 3.1.0 | 292,384 | 7/9/2023 |
| 3.0.0 | 1,339,100 | 11/8/2022 |
| 2.3.0 | 52,790 | 10/14/2022 |
| 2.2.0 | 299,643 | 4/14/2022 |
| 2.1.0 | 82,707 | 2/20/2022 |
| 2.0.0 | 261,788 | 11/30/2021 |
| 2.0.0-rc0002 | 2,355 | 11/27/2021 |
| 2.0.0-rc0001 | 4,539 | 11/7/2021 |
| 1.3.0 | 166,984 | 10/7/2021 |
#5169 Make environment-defaulted DotNet switches tri-state to allow explicit opt-out.
#5079 Update Spectre.Console.Cli to 0.57.2.
#5060 Make unified dependency graph the default when running multiple targets.
#5003 Remove obsolete members / methods.
#5001 Update LatestPotentialBreakingChange to 7.0.0.
#4997 Remove Unsupported TFMS .NET 8 & 9 (net8.0 & net9.0).
#2835 Migrate Cake.Tool from Autofac to Microsoft.Extensions.DependencyInjection.
#5187 Update .NET SDK to 11.0.100.
#5159 Add container publishing support to DotNetPublish.
#5127 Add DotNetRunCode aliases for dotnet run -.
#5125 Add ProcessSettings.StandardInput for StartProcess.
#5115 Add .NET 11 DotNetRun settings (environment, file, device, artifacts-path, no-cache).
#5112 Add DotNetNuGetLocalsList and Clear aliases.
#5109 Add DotNetNuGetWhy aliases for package dependency graphs.
#5107 Add DotNetProjectConvert aliases for file-based apps.
#5105 Add DotNetSlnMigrate aliases for sln to slnx.
#5103 Add DotNetDownloadPackage aliases for dotnet package download.
#5089 Add DotNetUpdatePackage aliases for dotnet package update.
#5087 Add Tar and Untar aliases for creating and extracting tar archives.
#5085 Add opt-in .NET 11 Process API support to Cake.
#5081 Add IFile content read/write extensions aligned with System.IO.File.
#5070 Add GitHub Actions AzureLogin for OIDC.
#5066 Drop dead runtime checks and Task.Run wrappers.
#4999 C# 15 Scripting Support.
#4998 Add .NET 11 (net11.0) TFM.
#4660 Consider adding IFileSystemInfo returning APIs in addition to IFile and IDirectory.
#2471 Install a nuget tool on demand.
#1269 Request for Task.Tool(nuget:?package=etc) .
#5189 Update Basic.Reference.Assemblies.* to 1.8.15.
#5185 Update Microsoft.Extensions.DependencyInjection to 10.0.15 (net10.0) & 11.0.0 (net11.0).
#5183 Update System.Security.Cryptography.Pkcs to 10.0.15 (net10.0) & 11.0.0 (net11.0).
#5181 Update Basic.Reference.Assemblies.* to 1.8.14.
#5177 Enable .NET 11 runtime async for net11.0 builds.
#5175 Render --description task list as a Spectre.Console table.
#5173 Add base image support to DotNetPublish container settings extensions.
#5164 Update Basic.Reference.Assemblies.* to 1.8.13.
#5163 Update System.Security.Cryptography.Pkcs to 10.0.14 (net10.0) & 11.0.0-rc.3.26522.148 (net11.0).
#5162 Update Microsoft.Extensions.DependencyInjection to 10.0.14 (net10.0) & 11.0.0-rc.3.26522.148 (net11.0).
#5134 Update System.Security.Cryptography.Pkcs to 11.0.0-rc.2.26504.105 (net11.0).
#5133 Update Microsoft.Extensions.DependencyInjection to 11.0.0-rc.2.26504.105 (net11.0).
#5131 System.Security.Cryptography.Pkcs 10.0.12 has a known severity.
#5129 Add async DoesForEach and IAsyncEnumerable overloads.
#5119 Add .NET 11 DotNetTest MTP settings.
#5117 Add DotNetFormat Framework setting.
#5093 Drop leftover CoreCLR / NETFRAMEWORK host branches.
#5091 Remove Framework-era host fallbacks now that Cake targets net10/net11 only.
#5072 Stop embedding Microsoft.NETCore.Platforms; resolve #addin assets with the portable RID graph.
#5068 Freeze the NuGet deny list and drop unused Rider/xUnit leftovers.
#5064 Follow-up: FrozenDictionary and GeneratedRegex.
#5062 Modernize remaining CoreCLR polyfill internals.
#5058 Use Length and Frozen/GeneratedRegex for engine hygiene/perf.
#5056 Handle empty Assembly.Location in CakeRunner and VersionResolver.
#5054 Migrate GoCD history JSON to System.Text.Json.
#5052 Use SHA256.HashData instead of static shared HashAlgorithm instance.
#5050 Remove dead TFM conditionals after net10.0/net11.0 cut.
#5036 Update Basic.Reference.Assemblies.* to 1.8.12.
#5035 Update Microsoft.IdentityModel.JsonWebTokens to 8.23.0.
#5019 Add missing Azure Pipelines System.PullRequest predefined variables.
#4231 MsBuild Path for BuildTools is not recognized correctly.
#2413 TFBuildCommand PublishTestResults API Change.
#2373 Add method to ProcessArgumentBuilder class to insert argument at any location.
#1462 IsDependentOn with multiple tasks.
#1461 Non-formatting ICakeConsole.WriteLine overload.
#1367 A comment precisely constructed with a hyperlink immediately after the // on the same line as your #addin preprocessor directive when just using the Package Name causes nuget to fail to find the package.
#1272 Improper quoting of all command line arguments.
#5030 Add Cake DSL examples to ICakeContext, IFileSystem, ProcessArgumentBuilder, and ToolSettings.
#5028 Add Cake DSL examples to Task, Does, and CakeTaskBuilder.
#5026 Add a Cake DSL example to GetCallerInfo.
#5024 Add Cake DSL examples to BuildSystem and CI provider APIs.
#5157 Using declarations without parentheses on the first line are hoisted as using alias directives.
#5155 Interpolated strings bind to string log overloads instead of FormattableString overloads.
#5095 Fix Unix GetSpecialPath HOME and Program Files mapping.
#3830 [Cake.Frosting] has exit code -1 for any kind of error.
#3829 Error: Error getting value from 'CurrentUser' on 'Cake.Core.IO.WindowsRegistry'.
#2646 Incorrect translation of literal constants used as optional parameter values (when constants are defined in a separate file).