TaskHostParameters Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A readonly struct that represents task host parameters used to determine which host process to launch.
public value class TaskHostParameters : IEquatable<Microsoft::Build::Framework::TaskHostParameters>
public readonly struct TaskHostParameters : IEquatable<Microsoft.Build.Framework.TaskHostParameters>
type TaskHostParameters = struct
Public Structure TaskHostParameters
Implements IEquatable(Of TaskHostParameters)
- Inheritance
-
TaskHostParameters
- Implements
Fields
| Name | Description |
|---|---|
| Empty |
A static empty instance to avoid allocations when default parameters are needed. |
Properties
| Name | Description |
|---|---|
| Architecture |
Gets the target architecture (e.g., "x64", "x86", "arm64"). |
| DotnetHostPath |
Gets the path to the dotnet host executable. |
| MSBuildAssemblyPath |
Gets the path to the MSBuild assembly. |
| Runtime |
Gets the target runtime identifier (e.g., "net8.0", "net472"). |
| TaskHostFactoryExplicitlyRequested |
Gets if Task Host Factory was requested explicitly (by specifying TaskHost="TaskHostFactory" in UsingTask element). |
Methods
| Name | Description |
|---|---|
| Equals(Object) | |
| Equals(TaskHostParameters) | |
| GetHashCode() | |