Cake bakes in .NET 5. C# 9 support for RC1 taste test

Cake
Lovely cake

Cake has reached v1.0.0 RC1 status, its developer team announced in a blog post on Thursday. For the uninitiated, Cake (C# Make) is an OSS cross-platform build automation system with a C# domain specific language (DSL) for tasks such as compiling code, copying files and folders, running unit tests, compressing files and building apps in the .NET NuGet packager

“This version is the 110th release of Cake, but the first pre-release of Cake 1.0,” the team wrote in the blog. “We’ve chosen to release 1.0 as a pre-release to NuGet and Chocolatey, so we and the community can more easily test and ensure that our 1.0 release will be as stable as possible.”

As well as bug fixes and improved documentation, major new features in v1.0.0 include .NET 5 and C# 9 support, Implicit bootstrapping, a rewritten CLI, and Frosting – a stand-alone .NET runner and host for Cake – incorporated into the main repository, alongside increased test coverage and integration tests. Cake now runs natively under .NET 5 both with scripts using the .NET Tool Cake.Tool and as regular .NET Console applications.

The new CLI is built on Spectre.cli, which uses the .NET type system to declare commands and ties everything together through composition, building clean code that integrates well with unit tests.

Advertisement

Cake runs on Windows, MacOS and Linux, and works with a variety of CI systems, the support matrix for which is available on the blog post.

- Advertisement -