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

Issue running it on MacOS #31

Closed
fleed opened this issue Mar 8, 2018 · 2 comments
Closed

Issue running it on MacOS #31

fleed opened this issue Mar 8, 2018 · 2 comments

Comments

@fleed
Copy link

fleed commented Mar 8, 2018

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
Copy link
Owner

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
Copy link
Author

fleed commented Mar 8, 2018

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

@fleed fleed closed this as completed Mar 8, 2018
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

2 participants