Skip to content

Resxgen.psm1 is not translating manifest escape characters. #5890

@dantraMSFT

Description

@dantraMSFT

Steps to reproduce

Run resxgen.ps1 from tools\resxgen.

.\ResxGen.ps1 -Manifest ..\..\src\PowerShell.Core.Instrumentation\PowerShell.Core.Instrumentation.man -ResxPath ..\..\src\System.Management.Automation\resources -CodePath ..\..\src\System.Management.Automation\gen

Expected behavior

escape characters such as %t and %n in manifest messages are translated the tab and newline characters.

Actual behavior

The escape characters are passed through without change.

Environment data

> $PSVersionTable
Name                           Value
----                           -----
PSVersion                      6.0.0
PSEdition                      Core
GitCommitId                    v6.0.0
OS                             Microsoft Windows 10.0.17076
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions