Synced
PublishTaskHostTask
Section titled “PublishTaskHostTask”
- Publishes one immutable task runtime per content identity before a build loads its private closure. This bootstrap depends only on filesystem primitives and never loads the task runtime being built.
Required contracts
Section titled “Required contracts”API: engine
Implements: Microsoft.Build.Framework.ICancelableTask
Inherits: Microsoft.Build.Utilities.Task
Project: Inno.Build.TaskHosting
Declaration
Section titled “Declaration”public sealed class Inno.Build.TaskHosting.PublishTaskHostTask : Microsoft.Build.Utilities.Task, Microsoft.Build.Framework.ICancelableTaskMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | PublishTaskHostTask.Constructor | No XML description is available. |
| Methods | PublishTaskHostTask.Cancel | Cancels ownership waits and unpublished copies without racing token retirement. |
| Methods | PublishTaskHostTask.Execute | Verifies sources and cached files, publishes a complete candidate under exclusive ownership, and registers the private reader before returning its shared runtime. |
| Properties | PublishTaskHostTask.CacheDirectory | Gets or sets the absolute owner of content-addressed, shared task runtime snapshots. |
| Properties | PublishTaskHostTask.InputFiles | Gets or sets the frozen runtime files, each declaring RelativePath and FileHash metadata. |
| Properties | PublishTaskHostTask.LoadDirectory | Gets or sets the absolute private load directory whose parent receives this process’s ownership marker. |
| Properties | PublishTaskHostTask.PublishedAssembly | Gets the verified immutable task assembly path after successful publication. |
| Properties | PublishTaskHostTask.PublisherDirectory | Gets or sets an optional private bootstrap directory to register under the same process ownership. An empty value leaves the caller’s publisher assembly lifetime outside this cache. |