You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
#105
Open
ericburcham opened this issue
May 26, 2022
· 0 comments
Finish (or provide guidance) for the PR which I will open against this issue.
Automated Steps to Reproduce
Run the following PowerShell from an environment with .net 5.0 installed.
git clone https://github.com/ericburcham/cake-docfx-warning.git
cd cake-docfx-warning
dotnet tool restore
dotnet cake
Observe the warning message in the cake build output.
Manual Steps to Reproduce
Create a git repo and install the latest version of the Cake dotnet tool.
Add a Visual Studio solution and one or more projects.
Configure DocFx to build documentation for your solution.
Edit your build.cake file to include this plugin.
Create a Cake Task to invoke DocFxBuild("./path/to/docfx.json")
Invoke the task.
Observe the warning message in the cake build output.
Context
I am using Cake.DocFx in a repository at work and on build servers, and I am concerned I will have compatibility issues. I have not actually observed any yet. I'm just trying to be proactive.
Your Environment
Addin version used: 1.0.0
Cake Version used: cake.tool 2.0.0
Operating System: Windows 11 desktop, Windows Server 2022.
The text was updated successfully, but these errors were encountered:
Expected Behavior
Cake.Core 2.0 is supported.
Current Behavior
Cake.Core 2.0 is not supported.
Possible Solution
Finish (or provide guidance) for the PR which I will open against this issue.
Automated Steps to Reproduce
Manual Steps to Reproduce
Context
I am using Cake.DocFx in a repository at work and on build servers, and I am concerned I will have compatibility issues. I have not actually observed any yet. I'm just trying to be proactive.
Your Environment
The text was updated successfully, but these errors were encountered: