Skip to content

WriteCodeFragment task is locale dependent. #13191

Description

@PetSerAl

string comment = ResourceUtilities.GetResourceString("WriteCodeFragment.Comment");
globalNamespace.Comments.Add(new CodeCommentStatement(comment));

Here WriteCodeFragment task use localized resource string as comment in generated source file. This behavior is at odds with reproducible build. I think that resource string should be replaced with language neutral non-localizible string constant.

Metadata

Metadata

Labels

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

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions