Cake v3.1.0 released

Sunday, 9 July 2023
Release Notes

Version 3.1.0 of Cake has been released. Take it for a spin and give us feedback on our discussion board.

This release includes new features, improvements and bug fixes to both Cake Scripting and Cake Frosting since the Cake v3.0.0 release! 🚀 🍰

Highlights of this release

  • Ability to invoke multiple tasks with Cake.Frosting
  • Support for user home directory in Cake Environment
  • Dependency updates


This release was made possible thanks to the Cake team and the contribution of these awesome members of the Cake community listed below:

Full details of everything that was included in this release can be seen below.


As part of this release we had 28 issues closed.


  • #4122 Call multiple tasks from CLI in Frosting.
  • #4092 Add support for getting the user's home directory in the Cake Environment.


  • #4184 Update Autofac to 7.0.1.
  • #4183 Update System.Reflection.Metadata to 7.0.2.
  • #4182 Update Basic.Reference.Assemblies.Net60/Net70 to 1.4.2.
  • #4181 Update Microsoft.CodeAnalysis.CSharp.Scripting to 4.6.0.
  • #4170 Update NuGet.* to v6.6.1.
  • #4138 Upgrade Spectre.Console to v0.46.0.
  • #4109 Add PublishReadyToRun to DotNetRestoreSettings.
  • #4107 DotNetPublishSettings is missing a way to set the --os option.
  • #4090 Update Microsoft.CodeAnalysis.CSharp.Scripting to v4.4.0.
  • #4087 Update Newtonsoft.Json to v13.0.2.
  • #4086 Update Autofac to v6.5.0.
  • #4085 Update NuGet.* to v6.4.0.
  • #1317 CleanDirectory does not clean readonly files.


  • #4095 Fix broken link to Cake Team on


  • #4128 Inconsistent determination of positional Argument when using context.Arguments versus context.Argument.