msbuild icon indicating copy to clipboard operation
msbuild copied to clipboard

Localize the text in the common target

Open JaynieBai opened this issue 1 year ago • 0 comments

Fixes #10171

Context

MsBuild produces unlocalized messages for some specific validation cases that happen in scope of target. The example of the task usage: https://github.com/YuliiaKovalova/msbuild/blob/be21253d85f7766356880d376e26aaa69c34c4cd/src/Tasks/Microsoft.Common.CurrentVersion.targets#L862

Changes Made

Refactor the existing messages with the recently added task allows to produce localized messages: https://github.com/dotnet/msbuild/blob/79dff86b18613cfe3510b719ac28e8a8c3e7f96c/src/Tasks/MSBuildInternalMessage.cs , produced by with hardcoded text.

Testing

Notes

JaynieBai avatar Jul 17 '24 06:07 JaynieBai