Change Cake.Core Dependency to 2.0.0+ #106
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
During my usage of this Cake plugin, I noticed the following warning message:
The assembly 'Cake.DocFx, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
is referencing an older version of Cake.Core (1.0.0).
For best compatibility it should target Cake.Core version 2.0.0.
I decided to see if I couldn't fork your repo and add support for Cake.Sure 2.0.0.
I was able to update the dependencies, and the projects compile fine in Visual Studio. But the Cake Build recipe is now broken. I had to update the solution projects to net5.0 in order to adopt Cake.Core 2+, and it looks like the Cake dependencies in the plugin's build script only support netcoreapp. I do not have time to take the work further without instruction, but if you can provide guidance to solve those problems, I'll spend some more time and see what I can do.
Related Issue
Latest Cake Build emits warning: The assembly 'Cake.DocFx, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is referencing an older version of Cake.Core (1.0.0). For best compatibility it should target Cake.Core version 2.0.0.
Motivation and Context
I'm mostly trying to be helpful.
How Has This Been Tested?
See the description.
Types of changes
Checklist: