TaskLoggingHelper.TaskResources Property

Definition

Used to load culture-specific resources. Derived classes should register their resources either during construction, or via this property, if they have localized strings.

C#
public System.Resources.ResourceManager TaskResources { get; set; }
C#
public System.Resources.ResourceManager TaskResources { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }

Property Value

A ResourceManager that represents the culture-specific resources used by the logging methods. This value can be null.

Attributes

Remarks

If derived classes have localized strings, then they should register their resources with this property.

Applies to

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