Task.TaskResources Property

Definition

Gets or sets the task's culture-specific resources. Derived classes should register their resources either during construction, or via this property, if they have localized strings.

C#
protected System.Resources.ResourceManager TaskResources { get; set; }

Property Value

The task's resources (can be null).

Remarks

If derived classes have localized strings, then they should register their resources either during construction, or through this property.

Applies to

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