I noticed the following from our build output. Our specific issue was due to our build.ps1 script still targeting 0.17.0 version of Cake, so upgrading to the latest build.ps1 fixed our issues. However, it seems likely this upgrade is forthcoming:
Error: The assembly 'Cake.Powershell, Version=0.3.5.0, Culture=neutral, PublicKeyToken=null'
is referencing an older version of Cake.Core (0.17.0).
This assembly need to reference at least Cake.Core version 0.22.0.
Another option is to downgrade Cake to an earlier version.
It's not recommended, but you can explicitly opt-out of assembly verification
by configuring the Skip Verification setting to true
(i.e. command line parameter "--settings_skipverification=true",
envrionment variable "CAKE_SETTINGS_SKIPVERIFICATION=true",
read more about configuration at https://cakebuild.net/docs/fundamentals/configuration)``
I noticed the following from our build output. Our specific issue was due to our build.ps1 script still targeting 0.17.0 version of Cake, so upgrading to the latest build.ps1 fixed our issues. However, it seems likely this upgrade is forthcoming: