Skip to content

AssemblyProvenance

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

Describes how an assembly in the dependency graph was located — or why it could not be.

public enum AssemblyProvenance

Extracted from a single-file bundle adjacent to the referencing assembly.

Returns: AssemblyProvenance

AdjacentBundle = 7

Resolved from the referencing assembly’s directory on disk.

Returns: AssemblyProvenance

AppLocal = 1

Resolved by following a configured <codeBase href> entry from the .NET Framework binding policy chain (app config, publisher policy, or machine.config).

Returns: AssemblyProvenance

CodeBase = 12

A <codeBase> entry for the effective identity was present in the binding policy chain but its href pointed at a path that does not exist on disk. Reported as fail-fast (the CLR does not fall back to probing in this case), distinct from generic Unresolved so the UI can surface the configured href to the user.

Returns: AssemblyProvenance

CodeBaseMissing = 13

Resolved from the .NET Framework runtime directory at %WINDIR%\Microsoft.NET\Framework[64]\v4.0.30319. Distinct from RuntimeDirectory, which references the active .NET (Core) host directory the analyzer process is itself running on.

Returns: AssemblyProvenance

FrameworkRuntimeDirectory = 11

Resolved from the .NET Framework Global Assembly Cache at %WINDIR%\Microsoft.NET\assembly\GAC_*. Only produced for .NET Framework roots.

Returns: AssemblyProvenance

Gac = 10

Extracted from the host process bundle (when dotsider itself is bundled).

Returns: AssemblyProvenance

HostBundle = 6

A probe produced a file whose simple name matched, but whose manifest identity (version, culture, or public key token) did not match the requested reference. The graph does not expand from such candidates — the node is left as an unresolved leaf.

Returns: AssemblyProvenance

IdentityMismatch = 9

Resolved from the NuGet global packages folder by consulting the referencing assembly’s .deps.json manifest for the exact resolved package version and runtime asset path.

Returns: AssemblyProvenance

NuGetPackageCache = 3

The analyzed assembly itself (the graph root).

Returns: AssemblyProvenance

Root = 0

Resolved from the active .NET runtime directory.

Returns: AssemblyProvenance

RuntimeDirectory = 2

Resolved through the shared-framework discovery for the target framework.

Returns: AssemblyProvenance

SharedFramework = 4

Extracted from the single-file bundle that produced the referencing assembly.

Returns: AssemblyProvenance

SourceBundle = 5

No probe produced any candidate file for the referenced simple name.

Returns: AssemblyProvenance

Unresolved = 8

The order of enum members is not significant; callers should compare by member name.