PolicyLayer
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
Identifies which layer of .NET Framework binding policy rewrote a requested assembly
identity. The CLR walks app config first, then publisher policy (unless bypassed by
<publisherPolicy apply="no"/>), then machine.config; later layers override
earlier ones, so the effective winner is machine.config > publisher > app >
framework unification.
public enum PolicyLayerFields
Section titled “Fields”AppConfig
Section titled “AppConfig”A redirect declared in the application’s *.exe.config/*.dll.config.
Returns: PolicyLayer
AppConfig = 3CodeBase
Section titled “CodeBase”The effective identity was anchored by a <codeBase> element rather than a
version redirect — codeBase entries can come from any policy layer above.
Returns: PolicyLayer
CodeBase = 4FrameworkUnification
Section titled “FrameworkUnification”The CLR’s built-in unification of well-known framework public key tokens.
Returns: PolicyLayer
FrameworkUnification = 0MachineConfig
Section titled “MachineConfig”A redirect declared in the architecture-correct
%WINDIR%\Microsoft.NET\Framework[64]\v4.0.30319\Config\machine.config.
Returns: PolicyLayer
MachineConfig = 1PublisherPolicy
Section titled “PublisherPolicy”A redirect declared in a GAC-resident
policy.<major>.<minor>.<simpleName> publisher-policy assembly.
Returns: PolicyLayer
PublisherPolicy = 2