From e635ec5faf910e5fe7c51a61bbd8efee9705c98e Mon Sep 17 00:00:00 2001 From: Jakub Chocholowicz Date: Mon, 22 Jun 2020 22:15:37 +0200 Subject: [PATCH] Fixing resources accesability --- ...tform.VsTestConsole.TranslationLayer.csproj | 2 +- .../Resources/Resources.Designer.cs | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/Microsoft.TestPlatform.VsTestConsole.TranslationLayer.csproj b/src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/Microsoft.TestPlatform.VsTestConsole.TranslationLayer.csproj index f625e66f36..e2952d93f7 100644 --- a/src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/Microsoft.TestPlatform.VsTestConsole.TranslationLayer.csproj +++ b/src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/Microsoft.TestPlatform.VsTestConsole.TranslationLayer.csproj @@ -37,7 +37,7 @@ - ResXFileCodeGenerator + PublicResXFileCodeGenerator Resources.Designer.cs diff --git a/src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/Resources/Resources.Designer.cs b/src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/Resources/Resources.Designer.cs index d1cee45a68..d20d874ef0 100644 --- a/src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/Resources/Resources.Designer.cs +++ b/src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/Resources/Resources.Designer.cs @@ -22,7 +22,7 @@ namespace Microsoft.VisualStudio.TestPlatform.VsTestConsole.TranslationLayer.Res [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { + public class Resources { private static global::System.Resources.ResourceManager resourceMan; @@ -36,7 +36,7 @@ internal Resources() { /// Returns the cached ResourceManager instance used by this class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { + public static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.VisualStudio.TestPlatform.VsTestConsole.TranslationLayer.Resources.Reso" + @@ -52,7 +52,7 @@ internal Resources() { /// resource lookups using this strongly typed resource class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { + public static global::System.Globalization.CultureInfo Culture { get { return resourceCulture; } @@ -64,7 +64,7 @@ internal Resources() { /// /// Looks up a localized string similar to The active Multi Test Runs Finalization was aborted.. /// - internal static string AbortedMultiTestRunFinalization { + public static string AbortedMultiTestRunFinalization { get { return ResourceManager.GetString("AbortedMultiTestRunFinalization", resourceCulture); } @@ -73,7 +73,7 @@ internal static string AbortedMultiTestRunFinalization { /// /// Looks up a localized string similar to The active Tests Discovery was aborted.. /// - internal static string AbortedTestsDiscovery { + public static string AbortedTestsDiscovery { get { return ResourceManager.GetString("AbortedTestsDiscovery", resourceCulture); } @@ -82,7 +82,7 @@ internal static string AbortedTestsDiscovery { /// /// Looks up a localized string similar to The active Tests Run was aborted.. /// - internal static string AbortedTestsRun { + public static string AbortedTestsRun { get { return ResourceManager.GetString("AbortedTestsRun", resourceCulture); } @@ -91,7 +91,7 @@ internal static string AbortedTestsRun { /// /// Looks up a localized string similar to Failed to receive message from vstest.console process. /// - internal static string FailedToReceiveMessage { + public static string FailedToReceiveMessage { get { return ResourceManager.GetString("FailedToReceiveMessage", resourceCulture); } @@ -100,7 +100,7 @@ internal static string FailedToReceiveMessage { /// /// Looks up a localized string similar to File {0} does not exists. /// - internal static string InvalidFilePath { + public static string InvalidFilePath { get { return ResourceManager.GetString("InvalidFilePath", resourceCulture); } @@ -109,7 +109,7 @@ internal static string InvalidFilePath { /// /// Looks up a localized string similar to vstest.console process exited abnormally. /// - internal static string VsTestProcessExitedAbnormally { + public static string VsTestProcessExitedAbnormally { get { return ResourceManager.GetString("VsTestProcessExitedAbnormally", resourceCulture); }