-
-
Notifications
You must be signed in to change notification settings - Fork 725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build server (previously working) now broken, can't install addin. #2262
Comments
Here is the diagnostic output.
|
Pin to a previous version of the addin, when not specifying a version latest will be picked, which could have been compiled for a newer version of Cake. Specifying a version ensures same version used each build. Read more at |
Thanks, |
@pauldotknopf we actually have an open issue about helping people fall into the "pit of success" in this area: |
We will add an warning in next version of cake, our recommendation have always been to pin version. There's some legitimate uses cases, like addin and integration tests, where you want to run latest/prerelease. But we hope with new warning in place, our guidance and recommendations will be clearer. |
I attempted to pin versions of the add-ins via nuget (Cake.FileHelpers and Cake.XdtTransforms) that were used on a good build, but the output was the same. It does attempt to install the pinned versions, but it fails. Here is the syntax I used to pin: Here is the diagnostic output: `
Build FAILED.
Time Elapsed 00:00:06.04 |
According to the logs, Specify the feed explicitly int the directive: |
Thanks so much @mholo65 , It's all good now |
Excellent you got it sorted👍then I'm going to go ahead and close this issue. |
What You Are Seeing?
What is Expected?
A valid build/run of Cake.
What version of Cake are you using?
0.23.0
Are you running on a 32 or 64 bit system?
64bit.
What environment are you running on? Windows? Linux? Mac?
Windows.
How Did You Get This To Happen? (Steps to Reproduce)
A build.cake with
#addin "Cake.FileHelpers"
build.ps1: http://termbin.com/5cvn
packages.config: http://termbin.com/m1ed
The text was updated successfully, but these errors were encountered: