Closed nils-a closed 1 year ago
Just a little confused. On this page, it states that v 3.0.0 of Cake is supported.
Yet my reading of this issue suggests that it is not. Given that I receive this error, it also suggests that it is not:
The assembly 'Cake.Incubator, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null' is referencing an older version of Cake.Core (2.0.0). For best compatibility it should target Cake.Core version 3.0.0.
Is there a tweak I can make to get around that exception, or is 3.0.0 just not supported? If so, perhaps someone could edit the page referenced above to update that.
Cheers
From my understanding of that page, it is not inclusive of version 3.0.0, its all versions up to that. The code will need to be updated and a new version pushed before cake 3.0.0 will be supported.
Really? Versions: 2.0.0 - 3.0.0
means 3.0.0 is not included?
That seems to be a bit odd.
This would have made more sense to me: Versions: 2.0.0 < 3.0.0
But if that is the case, then fair enough.
Really?
Versions: 2.0.0 - 3.0.0
means 3.0.0 is not included?
This was actually a bug on the website. The number is inclusive, but should have been 2.0.0 - 2.3.0
. It has been fixed now.
Upgraded to Cake Version 3.0.0 at work the other day and I'm currently running into issues using Cake.Incubator
there:
Error: Could not load type 'Cake.Common.Tools.DotNetCore.Test.DotNetCoreTestSettings' from assembly 'Cake.Common, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
I'm pretty sure this is because there are still some places where classes with the prefix DotNetCore
are used, which have been removed in Cake 3.0.0
i.e. see the usage of DotNetCoreTestSettings
here:
idk what you folks are thinking, but I would be up to change all the places where something DotNetCore*
is used in favor of the DotNet*
equivalents and open a PR. Should this be discussed in a new issue (i.e. should extensions like DotNetCoreTestExtensions
also be renamed in DotNetTestExtensions
, ...)?
... change all the places where something
DotNetCore*
is used in favor of theDotNet*
equivalents and open a PR. Should this be discussed in a new issue
Someone started out in #215, then closed it after my comments, and wrote they'd open a new pr. But that was some time ago, so: If you're up to it, feel free to open a PR.
should extensions like
DotNetCoreTestExtensions
also be renamed inDotNetTestExtensions
?
Yes, we probably should have done this along with the deprecation in Cake some time ago. Since the switch to 3.0.0 will be breaking anyway, I'd say we should change the names "here" as well.
Any opinions, regarding the change from DotNetCore*
"here" to DotNet*
?
/cc @gep13, @pascalberger, @augustoproiete
Any opinions, regarding the change from
DotNetCore*
"here" toDotNet*
?
Makes sense to me 👍
I added the PR #221 for my attempt at upgrading to Cake 3.0.0, as I was thinking it doesn't really make sense to just change some bits of the upgrade, when I can just do everything at once. Upside is with the direct upgrade to cake 3.0.0 I was able to see which members have been removed with 3.0.0.
I hope this is alright and does not break any rules/the discussion before.
:tada: This issue has been resolved in version 8.0.0 :tada:
The release is available on:
Your GitReleaseManager bot :package::rocket:
This is currently blocked by https://github.com/cake-contrib/Cake.Incubator/pull/215