### Omitting the attribute definition: Set IgnoresAccessChecksToOmitAttributeDefinition to true Source: https://github.com/aelij/ignoresaccesscheckstogenerator/blob/main/README.md When set to true, the generator will not emit the IgnoresAccessChecksToAttribute class definition in the generated file. Useful when you already have the attribute defined elsewhere in your project, for example when multiple packages use the same attribute. ```xml true ``` -------------------------------- ### Basic usage: Add package and define IgnoresAccessChecksTo items Source: https://github.com/aelij/ignoresaccesscheckstogenerator/blob/main/README.md Add the package and define IgnoresAccessChecksTo items with the assemblies you need access to. The generator creates reference assemblies where all internal types and members become public, and adds a C# file with the attribute and its instances. ```xml ``` -------------------------------- ### Using with project references: Set CompileUsingReferenceAssemblies to false Source: https://github.com/aelij/ignoresaccesscheckstogenerator/blob/main/README.md If you want to ignore access checks to an assembly coming from a ProjectReference instead of a PackageReference, you'll need to set the CompileUsingReferenceAssemblies property to false. ```xml false ``` -------------------------------- ### Excluding types: Use IgnoresAccessChecksToExcludeTypeName with optional Assembly metadata Source: https://github.com/aelij/ignoresaccesscheckstogenerator/blob/main/README.md Use IgnoresAccessChecksToExcludeTypeName to keep specific types from being publicized. By default an exclusion applies to every assembly being processed. To scope an exclusion to a single assembly, add the Assembly metadata. ```xml ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.