It it possible to opt-out of the check for recommended Cake version using the CakeContribGuidelinesOmitRecommendedCakeVersion
setting
and setting it's Include
to the reference that should not be checked.
(Keep in mind, though, that it is not recommended to opt-out of this feature)
<ItemGroup>
<CakeContribGuidelinesOmitRecommendedCakeVersion Include="Cake.Common" />
<CakeContribGuidelinesOmitRecommendedCakeVersion Include="Cake.Core" />
</ItemGroup>