When running Cake.NSpec with Cake 0.22+ an Error is thrown as 0.22 introduced breaking changes.
See more info here.
Error: The assembly 'Cake.NSpec, Version=0.2.6182.10874, 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",
environment variable "CAKE_SETTINGS_SKIPVERIFICATION=true",
read more about configuration at https://cakebuild.net/docs/fundamentals/configuration)
When running
Cake.NSpec
withCake 0.22+
an Error is thrown as0.22
introduced breaking changes. See more info here.