Skip to content

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

@timblaktu

Description

@timblaktu

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions