SharpeRAD / Cake.Powershell

Powershell addin for Cake
http://cakebuild.net
MIT License
83 stars 36 forks source link

Upgrading to Cake.Core 0.22. Target .NET 4.6.1 framework #33

Closed yanigisawa closed 6 years ago

yanigisawa commented 7 years ago

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)``
SharpeRAD commented 6 years ago

Agree this needs to be done but I think its about time I upgrade to vs2017. I'll deploy a new version tonight that includes this.