Skip to content
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

cake dependencies need updating - build.ps1 doesn't run #16

Open
timblaktu opened this issue Mar 22, 2018 · 0 comments
Open

cake dependencies need updating - build.ps1 doesn't run #16

timblaktu opened this issue Mar 22, 2018 · 0 comments

Comments

@timblaktu
Copy link

First of all, thanks for all this great work - your packer templates are the cleanest I've seen!

I get the below error when running build.ps1. I'm running Windows 10 Pro.

PS C:\Users\tblack\src\PackerTemplates> .\build.ps1
Preparing to run build script...
Running build script...
Analyzing build script...
Processing build script...
Installing addins...
Error: The assembly 'Cake.Yaml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'
is referencing an older version of Cake.Core (0.22.0).
This assembly need to 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)

I tried changing the version from 22 to 26 in tools/Addins/Cake.Yaml.2.0.0/cake.yaml.nuspec, but that didn't help. (This is my first time using cake. I'm clueless)

I am able to get past the error with the suggested build.ps1 --settings_skipverification=true, but just wanted to make a note of this on your repo. Thanks again for all this good work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant