SharpeRAD/Cake.Services

Please, update to the latest version of Cake.Core and probable Cake.Powershell

Closed this issue · 2 comments

I see the following error when trying to run any script with Cake.Services add-in:

Error: The assembly 'Cake.Powershell, Version=0.4.2.0, Culture=neutral, PublicKeyToken=null'
is referencing an older version of Cake.Core (0.22.0).
This assembly need to reference at least Cake.Core version 0.26.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)

My build.cake file is:

#addin nuget:?package=Cake.Services

Task("Default").Does(() => { Information("Done."); });

RunTarget("Default");

tools/packages.config file:

<?xml version="1.0" encoding="utf-8"?>
<packages>
    <package id="Cake" version="0.26.1" />
</packages>

Pull request: #19

Resolve in v0.3.3.