From b834d28d10063d0ca6b847e30f0d1ad2ecaf86f0 Mon Sep 17 00:00:00 2001 From: Ryland <41491307+ryalanms@users.noreply.github.com> Date: Wed, 5 May 2021 18:09:27 -0700 Subject: [PATCH] The ReachFramework was not resolving any Resources and instead returning the key value. This caused Uri creation to fail on Xps_ManufacturerWebsite. Update the resource lookups to resolve the resource string from the key. --- src/Microsoft.DotNet.Wpf/src/ReachFramework/SR.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Microsoft.DotNet.Wpf/src/ReachFramework/SR.cs b/src/Microsoft.DotNet.Wpf/src/ReachFramework/SR.cs index 9b873261652..0e2527f5e9d 100644 --- a/src/Microsoft.DotNet.Wpf/src/ReachFramework/SR.cs +++ b/src/Microsoft.DotNet.Wpf/src/ReachFramework/SR.cs @@ -8,14 +8,14 @@ namespace System.Windows.Xps { internal static partial class SR { - public static string Get(string id) + public static string Get(string name) { - return SR.Format(id); + return GetResourceString(name, null); } - - public static string Get(string id, params object[] args) + + public static string Get(string name, params object[] args) { - return SR.Format(id, args); + return Format(GetResourceString(name, null), args); } } -} \ No newline at end of file +}