Class PackageTypeResolver

Assembly: redb.Route.Xml.dll

The type lookup of the packaging checks with a build output at hand (redb-route-xml check|pack --bin): the
assemblies of that output first, then the shared framework the worker runs on. A worker resolves a markup type name
against everything its process has loaded, which includes framework assemblies a project's bin/ never carries
(System.Net.Http for ); a check that looked in bin/ only
refused markup the worker runs.

public static class PackageTypeResolver

Inheritance

Object→PackageTypeResolver

Methods

Create(string, Action<string>?)

Loads every assembly of binDir into a load context of its own and returns the lookup.

public static Func<string, Type?> Create(string binDir, Action<string>? warn = null)