Table of Contents
Goals
As the recommendation from upstream is always to have Cake.Core
and Cake.Common
set as private assets, this is checked on build.
Additionally, references to CakeContrib.Guidelines
and Cake.Addin.Analyzer
are also checked.
Related rules
Usage
Using this package automatically enables this guideline.
Settings
Opt-Out
It it possible to opt-out of the check for PrivateAssets
using the CakeContribGuidelinesCakeReferenceOmitPrivateCheck
setting:
(Keep in mind, though, that it is not recommended to opt-out of this feature)
<PropertyGroup>
<CakeContribGuidelinesCakeReferenceOmitPrivateCheck>1</CakeContribGuidelinesCakeReferenceOmitPrivateCheck>
</PropertyGroup>