CCG0009

Cake.Core is referenced in version 0.38.5. Recommended version is 1.0.0.

Table of Contents

Cause

This warning is raised, when the addin/module references a version of Cake that is not recommended.

Description

Addins/modules should reference the recommended version of Cake (E.g. Cake.Core).

How to fix violations

Reference the recommended version of Cake:

<PropertyGroup>
  <CakeVersion>1.0.0</CakeVersion>
</PropertyGroup>
<ItemGroup>
  <PackageReference Include="Cake.Core" Version="$(CakeVersion)" PrivateAssets="All" />
  <PackageReference Include="Cake.Common" Version="$(CakeVersion)" PrivateAssets="All" />
</ItemGroup>
GitHub Discussion