Share via


RoslynCodeTaskFactory Class

Definition

C#
public sealed class RoslynCodeTaskFactory : Microsoft.Build.Framework.ITaskFactory
Inheritance
RoslynCodeTaskFactory
Implements

Constructors

Properties

FactoryName

Gets the name of the factory.

TaskType

Gets the Type of the compiled task.

Methods

CleanupTask(ITask)

Cleans up any context or state that may have been built up for a given task.

CreateTask(IBuildEngine)

Creates an instance of the task to be used.

GetTaskParameters()

Get the descriptions for all the task's parameters.

Initialize(String, IDictionary<String,TaskPropertyInfo>, String, IBuildEngine)

Initializes this factory for instantiating tasks with a particular inline task block.

Applies to

Product Versions
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17