Inno.Build.Managed
Section titled “Inno.Build.Managed”
- Neutral managed deployment identities, capabilities, requests and results.
Neutral managed deployment identities, capabilities, requests and results.
Start with distribution composition and Support Pack preparation.
Select a real deployment capability
Section titled “Select a real deployment capability”Compose a build distribution explains how a host registers a managed publisher. This contract library references no platform packager, Editor, Runtime or concrete SDK publisher. Domain runtime does not need to know which deployment implementation produced it.
ManagedDeploymentId is open and stable. Capability construction defensively copies supported RIDs and records dynamic-code, ahead-of-time and Native static-link support. The catalog rejects null/duplicate providers, reports supported choices in stable order and resolves the selected target before staging. Missing support fails rather than selecting an approximate runtime.
Requests and results
Section titled “Requests and results”A request normalizes absolute project, code-input, output and log paths without creating output or running tools. A result copies relative files and rejects an empty, duplicated or escaping file set. CompileAsync is the replaceable publisher boundary; cancellation and failure do not return a success descriptor.
The compiler does not install the game. Pipeline verifies identity, staging ownership and complete output, then calls platform packaging. Source, generator and PlayerLink material remain authoring/staging/Support Pack inputs, not arbitrary user-game content. There is no protected extension hierarchy; implement IManagedDeploymentCompiler and register only supported combinations.
Host usage
Section titled “Host usage”Supply existing live dependencies. This example checks the host contract; it does not initialize a complete product or certify a physical device.
using System.Threading;using System.Threading.Tasks;using Inno.Build.Managed;
static ValueTask<ManagedDeploymentResult> CompileAsync( ManagedDeploymentCatalog publishers, ManagedDeploymentId deployment, ManagedDeploymentRequest request, CancellationToken cancellationToken) { IManagedDeploymentCompiler compiler = publishers.Resolve( deployment, request.runtimeIdentifier); return compiler.CompileAsync(request, cancellationToken);}Source boundary
Section titled “Source boundary”The source project defines the selected host declarations. Script projection and platform execution require their separate evidence.
API reference
Section titled “API reference”Source project facts
Section titled “Source project facts”Project: Inno.Build.Managed
Source: build/managed/Inno.Build.Managed/Inno.Build.Managed.csproj
| Type | API | Description |
|---|---|---|
| IManagedDeploymentCompiler | engine | Publishes an explicit code closure independently of platform layout, content packaging and signing. |
| ManagedDeploymentCapabilities | engine | Describes the execution and native-link capabilities of one publisher over explicit runtime targets. |
| ManagedDeploymentCatalog | engine | Owns an immutable collection of deployment providers selected explicitly by the build composition. |
| ManagedDeploymentId | engine | Identifies an open managed deployment implementation independently of the publication platform. |
| ManagedDeploymentRequest | engine | Freezes the build-owned project, code closure and output locations supplied to a managed publisher. |
| ManagedDeploymentResult | engine | Describes verified staging output produced by one managed deployment compiler. |