Cake v1.0.0 RC1 released

Major new features

  • .NET 5 support
  • C# 9 support
  • Implicit bootstrapping
  • Rewritten CLI
  • Frosting incorporated into main repository
  • Improved globbing support
  • Improved documentation
  • Bugfixes, increased test coverage, and integration tests

.NET 5 Support

Cake 1.0 will fully support running natively under .NET 5 both with scripts using the .NET Tool Cake.Tool and as regular .NET Console applications using the Cake.Frosting library.

C# 9 support

With .NET 5 and the latest version of Roslyn comes the full power of C# 9 to your build process. And if we may say so, records are brilliant for your build state.

Implicit bootstrapping

Boostrapping of Cake modules is now implicit, which means that you no longer will need to execute Cake twice to additionally download and initialize modules, just add the module directive to your script and this will be handled transparently for you.

#module nuget:?package=Cake.DotNetTool.Module&version=0.4.0

Rewritten CLI

We’re now utilizing Spectre.Cli for a more robust, flexible and future proof handling of command line input.

Frosting incorporated into main repository

Cake Frosting is now incorporated in the same GitHub repository as ( cake-build/cake ) all the other Cake runners, this means it’ll be released and supported with the same cadence as them.

Supported platforms

Supported operating systems

Supported CI Systems

How can you help?

Help us by taking Cake 1.0.0 RC 1 for spin, test your scripts, addins and modules, if you have have questions please raise them on our GitHub Discussions and report any issues on our GitHub Issues.

dotnet new tool-manifest
dotnet tool install Cake.Tool --version 1.0.0-rc0001
dotnet cake build.cake

Contributors

Contributions were included from:

Issues

As part of this release we had 48 issues closed.

  • #2913 Add overload for DotNetCoreRun.
  • #2908 Future proof .NET [Core] detection.
  • #2897 Add tests for MyGetProvider.
  • #2895 Custom contexts should inherit from CakeContextAdapter.
  • #2877 Add NuGet’s Icon setting to NuGetPackSettings.
  • #2870 Add helpers for adding multiple strings to ProcessArgumentBuilder.
  • #2866 Support multiple dotnet test options.
  • #2847 Add new GitHub Actions URL environment variables.
  • #2844 Add missing dotnet test options.
  • #2839 Add support for PublishReadyToRunShowWarnings property in DotNetCorePublish.
  • #2833 Implicit bootstrapping of modules.
  • #2831 ParseAssemblyInfo does not detect lines with extra spaces.
  • #2825 Add option to ignore tool exit code.
  • #2822 Add support of ReportGenerator global tool.
  • #2820 Add DebuggerStepThroughAttribute to generated code.
  • #2817 Bump dependencies.
  • #2801 Inconsistent NuGet file name case.
  • #2792 Add dotnet nologo options.
  • #2743 Tool resolution for multiple names should be breadth first.
  • #2703 OpenCover is missing hideskipped setting.
  • #2623 DotNetCoreTestSettings Can Have Multiple Logger’s.
  • #2595 Misleading output message when trying to install prerelease package with the in-process nuget installer.
  • #2925 Fix sentences which end with double full stop.
  • #2918 Incorrect link for ReSharper’s Open Source webpage in Cake readme.
  • #2894 Remove unnecessary documentation and replace it with .
  • #2879 Update links pointing to cakebuild.net to new URL structure.
  • #2836 Update README with more up-to-date “getting started” information.
  • #2811 Identity of BuildProblem in TeamCityProvider should be optional.
  • #2920 Bump Cake script dependencies.
  • #2899 Update to .NET 5 SDK RC 2.
  • #2850 Bump .NET Core SDK to 3.1.402.
  • #2818 Start producing 1.0.0-rc0001 NuGet Packages.
  • #2814 Switch GRM to not mark GitHub release as a pre-release.
  • #2781 Bump StyleCop to latest version.
  • #2911 C# syntax errors in exceptions causes Specre.CLI internal error.
  • #2861 Fix error output in 1.0 preview.
  • #2853 Custom argument names are not case insensitive in 1.0 preview.
  • #2887 (Frosting) Fix line endings in build.sh within template package.
  • #2734 Can’t resolve resource assemblies.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Cake Build

Cake Build

Cake (C# Make) is a build automation system