NativeBuildRecipe.CreateForComponent
Section titled “NativeBuildRecipe.CreateForComponent”
- Declares a component’s source, execution and SDK inputs before binding outputs need to exist. The artifact publisher attaches the exact selected generation before hashing or compiling.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build.Toolchains
Declaration
Section titled “Declaration”public static Inno.Build.Toolchains.NativeBuildRecipe Inno.Build.Toolchains.NativeBuildRecipe.CreateForComponent(Inno.Build.Toolchains.NativeBuildContext context, Inno.Build.Toolchains.NativeComponentDescriptor owner, string component, string targetId, System.Collections.Generic.IEnumerable<string> inputPaths, System.Collections.Generic.IEnumerable<string> declarations, System.Collections.Generic.IEnumerable<string> implementationPaths)Parameters
Section titled “Parameters”Parameter context: The operation’s checkout and previously selected host tools.
Parameter owner: The component project whose implementation participates in recipe identity.
Parameter component: The native component artifact segment.
Parameter targetId: The selected target ABI.
Parameter inputPaths: All handwritten native sources, component tools and build definitions. Selected managed bindings and generated bridges are attached by the publisher.
Parameter declarations: Ordered component arguments and generation identities.
Parameter implementationPaths: The complete explicit implementation inputs used by this component, excluding unrelated product code.
Returns
Section titled “Returns”The frozen component declaration, without generating bindings or reading generated output. Unrelated build and Editor implementation assemblies do not affect it.
Exceptions
Section titled “Exceptions”Exception T:System.IO.FileNotFoundException: A required executor or component project is absent from the checkout.