Skip to content

ReferenceCopyLocal Attribute

Alexei Stryker edited this page Jun 27, 2018 · 2 revisions

Cauldron Interception always weaves a list of assemblies that are referenced by the project into the <Module> class's static constructor. This includes also references with the "Copy Local" property set to true even though they are not in use. To exclude these references the "ReferenceCopyLocal" attibute can be set to false. The default value is true.

Usage example:

<Weavers>
  <Cauldron.Interception ReferenceCopyLocal="true" />
</Weavers>