MihaMarkic / Cake.Docker

Cake AddIn that extends Cake with Docker
MIT License
47 stars 36 forks source link

Issue running it on MacOS #31

Closed fleed closed 6 years ago

fleed commented 6 years ago

Hi

I'm trying to run a script with Docker tasks on MacOS. I'm getting several errors like the following:

(2555,31): error CS0012: The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.

My script uses the following addins:

#addin "nuget:?package=Cake.DocFx&version=0.5.0"
#addin "nuget:?package=Cake.Docker&version=0.9.0"
#tool "nuget:?package=docfx.console&version=2.31.0"

My packages.config explicitely references Cake 0.26.0.

I'm running cake through a standard ./build.sh script.

MihaMarkic commented 6 years ago

I think that was a problem with Cake 0.26 cake-build/cake#2063 which was fixed in 0.26.1. Is this the case for you?

fleed commented 6 years ago

Thank you @MihaMarkic . Updating to 0.26.1 fixed the issue.