Skip to content

Task hosts should set TaskEnvironment instead of relying on task defaults #13714

@AR-May

Description

@AR-May

Currently, task hosts rely on individual tasks to provide a default TaskEnvironment. The out-of-proc task host never assigns TaskEnvironment on IMultiThreadableTask instances. Today this only works because our built-in tasks initialize the property to TaskEnvironment.Fallback themselves. To improve reliability the task host should be responsible for initializing and setting the TaskEnvironment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: TasksIssues impacting the tasks shipped in Microsoft.Build.Tasks.Core.dll.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions