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

Could not load Cake.Incubator.dll (missing netstandard, Version=2.0.0.0, Culture=neutral, ...) #71

Closed
warrenrumak opened this issue Mar 19, 2018 · 12 comments
Labels
Milestone

Comments

@warrenrumak
Copy link

warrenrumak commented Mar 19, 2018

Full message:
Could not load [elided]tools\Addins\Cake.Incubator.2.0.1\lib\netstandard2.0\Cake.Incubator.dll (missing netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51)

Started getting this error after 2.0.1 was released. 1.7.2 and 2.0.0 seem to be fine.

This is happening on a build server, but not on my workstation. Could it be because the build server doesn't have the .NET Core SDK or something?

@wwwlicious
Copy link
Contributor

@warrenrumak It sounds like that might be the case. I would either install the latest net core sdk onto your build server, or alternatively you can pin the version of incubator to 2.0.0 in your script.

#addin nuget:?package=Cake.Incubator&version=2.0.0

@zplan
Copy link

zplan commented Mar 20, 2018

Same here.
What exactly needs to be installed on a build server to build version 2.0.1 without "missing netstandard" error?

@rstam
Copy link

rstam commented Mar 20, 2018

This is happening on my build server also, but not on my local machine.

Works fine with 2.0.0. The problem started with 2.0.1.

@alewmt
Copy link

alewmt commented Mar 21, 2018

#addin "nuget:?package=Cake.Incubator&version=2.0.0"
tried this and got another error

Error: The assembly 'Cake.Incubator, 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)

@willnogueira
Copy link

Same issue here.

@wwwlicious
Copy link
Contributor

What version of net core runtime do the servers have installed where it is failing?

@dga711
Copy link

dga711 commented Mar 23, 2018

I tried installing .net core sdk, didn't help. Installed .net core runtime, didn't help. Installed .NET 4.7.1, WORKS

@wwwlicious
Copy link
Contributor

👍 Good to know @dga711. versioning is giving me a headache right now!

@dga711
Copy link

dga711 commented Mar 24, 2018

Yeah. It's a pain.
Can't think of a reason why installing 4.7.1 helps.

@zplan
Copy link

zplan commented Apr 5, 2018

Any progress to this topic? Is there a new release coming?

@nmbro nmbro mentioned this issue Jun 23, 2018
@Structed
Copy link

I want to confirm that installing .NET FX 4.7.1 resolves the issue. Thank you, @dga711!

@wwwlicious wwwlicious added this to the 3,0 milestone Aug 11, 2018
@wwwlicious wwwlicious added the Bug label Aug 11, 2018
@wwwlicious
Copy link
Contributor

Should be reolved by #80

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

No branches or pull requests

8 participants