Ashthos / Cake.StyleCop

Stylecop implementation for the CakeBuild build system.
MIT License
5 stars 14 forks source link

Cake.StyleCop not referencing latest Cake.Core #16

Open iqbalmineraltown opened 7 years ago

iqbalmineraltown commented 7 years ago

Hi, thanks for creating this Addin I'm using cake.stylecop on one of my project and it's already running for a year

Just recently I found this error when running .\build.ps1 with cake.stylecop addins included

Error: The assembly 'Cake.StyleCop, Version=0.9.0.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)

Is there any chance for this Addin to update its reference to latest Cake.Core? Thanks!

EDIT: this was already referenced in https://github.com/Ashthos/Cake.StyleCop/pull/15 sorry I didn't see that

jzeferino commented 6 years ago

@Ashthos can you help here? Can I PR this change?

trejonh commented 6 years ago

I'm still seeing this issue with using the latest version of both Cake (0.27.1), and the error states the assembly needs to reference at least Cake.Core (0.22.0) Error: The assembly 'Cake.StyleCop, Version=0.9.0.0, Culture=neutral, PublicKeyToken=null' is referencing an older version of Cake.Core (0.17.0). This assembly must 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)

iqbalmineraltown commented 6 years ago

still no response from repo owner?