Closed AlbertoMonteiro closed 6 years ago
Unless configured, the Cake preprocessor will always download the latest version of any #addin
or #tool
.
With packages updating to support Cake 0.22.0
A workaround for now is pin the version of the tools e.g. #addin "nuget:?package=Cake.Powershell&version=0.3.5"
To avoid random breakages for your build script, I would recommend pinning the version of all dependencies.
Thanks @dennisroche 👍
I've added a description to the ReadMe and to the Troubleshooting page to explain Cakes changes.
I'm also going to leave this issue open for a couple of weeks as I've closed 3 identical issues in the last day and I suspect there will be more to come 😢
Thanks @dennisroche ! And also thanks @SharpeRAD for leaving this issue open making it easier for me to find it :)
Closing this now as I think its been long enough that people should be aware of the changes to Cake.
I was using Cake.Powershell version 0.3.5 with Cake 0.19.5, now when using 0.4.0 with same Cake version I get this error: