diff --git a/src/Microsoft.ComponentDetection.Common/Microsoft.ComponentDetection.Common.csproj b/src/Microsoft.ComponentDetection.Common/Microsoft.ComponentDetection.Common.csproj index 41489c99f..32d1e6f96 100644 --- a/src/Microsoft.ComponentDetection.Common/Microsoft.ComponentDetection.Common.csproj +++ b/src/Microsoft.ComponentDetection.Common/Microsoft.ComponentDetection.Common.csproj @@ -21,16 +21,4 @@ - - - Resources.resx - True - True - - - Resources.Designer.cs - ResXFileCodeGenerator - - - diff --git a/src/Microsoft.ComponentDetection.Common/Resources.Designer.cs b/src/Microsoft.ComponentDetection.Common/Resources.Designer.cs deleted file mode 100644 index 82ed20a1b..000000000 --- a/src/Microsoft.ComponentDetection.Common/Resources.Designer.cs +++ /dev/null @@ -1,82 +0,0 @@ -#nullable disable -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Microsoft.ComponentDetection.Common { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - 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 { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.ComponentDetection.Common.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to The component object does not have a componentId specified. - /// - internal static string MissingComponentId { - get { - return ResourceManager.GetString("MissingComponentId", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Node with id {0} has not be inserted in the dependency graph. - /// - internal static string MissingNodeInDependencyGraph { - get { - return ResourceManager.GetString("MissingNodeInDependencyGraph", resourceCulture); - } - } - } -} \ No newline at end of file diff --git a/src/Microsoft.ComponentDetection.Common/Resources.cs b/src/Microsoft.ComponentDetection.Common/Resources.cs new file mode 100644 index 000000000..ff269259e --- /dev/null +++ b/src/Microsoft.ComponentDetection.Common/Resources.cs @@ -0,0 +1,8 @@ +namespace Microsoft.ComponentDetection.Common; + +internal static class Resources +{ + internal const string MissingComponentId = "The component object does not have a componentId specified"; + + internal const string MissingNodeInDependencyGraph = "Node with id {0} has not be inserted in the dependency graph"; +} diff --git a/src/Microsoft.ComponentDetection.Common/Resources.resx b/src/Microsoft.ComponentDetection.Common/Resources.resx deleted file mode 100644 index d0a1c20e8..000000000 --- a/src/Microsoft.ComponentDetection.Common/Resources.resx +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - The component object does not have a componentId specified - - - Node with id {0} has not be inserted in the dependency graph - {0} - Component id - - \ No newline at end of file