SharpeRAD / Cake.Powershell

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

Referencing version issue #30

Closed draickovic closed 7 years ago

draickovic commented 7 years ago

I'm getting following error while trying to run Powershell script from my build.cake script:

Error: The assembly 'Cake.Powershell, Version=0.2.3.0, Culture=neutral, PublicKeyToken=null' is referencing an older version of Cake.Core (0.11.0). This assembly need to reference at least Cake.Core version 0.16.0. Another option is to downgrade Cake to an earlier version.

I'm including nuget library with: #addin "nuget:https://www.nuget.org/api/v2?package=Cake.Powershell"

As I can see on NuGet.org, latest version is 0.3.3.0. Why Cake persistently gets version 0.2.3.0?

draickovic commented 7 years ago

Cleaning all temp files and downloaded NuGet packages solved this problem.