@joebigelow / wix / commits / 8e9567e1

Clean up unused strings.

Bob Arnson committed Aug 26, 2020 at 16:11 UTC 8e9567e153c0a9cdc87a50ad42fa87b07041bf83
3 files changed +27 -136
src/WixToolset.Data/WixDataStrings.Designer.cs
+12 -103
@@ -1,4 +1,12 @@
1 -// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
1 +//------------------------------------------------------------------------------
2 +// <auto-generated>
3 +// This code was generated by a tool.
4 +// Runtime Version:4.0.30319.42000
5 +//
6 +// Changes to this file may cause incorrect behavior and will be lost if
7 +// the code is regenerated.
8 +// </auto-generated>
9 +//------------------------------------------------------------------------------
10
11 namespace WixToolset.Data {
12 using System;
@@ -11,7 +19,7 @@ namespace WixToolset.Data {
19 // class via a tool like ResGen or Visual Studio.
20 // To add or remove a member, edit your .ResX file then rerun ResGen
21 // with the /str option, or rebuild your VS project.
14 - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
22 + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
23 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 public class WixDataStrings {
@@ -28,7 +36,7 @@ namespace WixToolset.Data {
36 /// Returns the cached ResourceManager instance used by this class.
37 /// </summary>
38 [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
31 - internal static global::System.Resources.ResourceManager ResourceManager {
39 + public static global::System.Resources.ResourceManager ResourceManager {
40 get {
41 if (object.ReferenceEquals(resourceMan, null)) {
42 global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WixToolset.Data.WixDataStrings", typeof(WixDataStrings).Assembly);
@@ -43,7 +51,7 @@ namespace WixToolset.Data {
51 /// resource lookups using this strongly typed resource class.
52 /// </summary>
53 [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
46 - internal static global::System.Globalization.CultureInfo Culture {
54 + public static global::System.Globalization.CultureInfo Culture {
55 get {
56 return resourceCulture;
57 }
@@ -61,96 +69,6 @@ namespace WixToolset.Data {
69 }
70 }
71
64 - /// <summary>
65 - /// Looks up a localized string similar to A Merge table FileCompression column cannot be set to the invalid value &apos;{0}&apos;..
66 - /// </summary>
67 - public static string EXP_CannotSetMergeTableFileCompressionColumnToInvalidValue {
68 - get {
69 - return ResourceManager.GetString("EXP_CannotSetMergeTableFileCompressionColumnToInvalidValue", resourceCulture);
70 - }
71 - }
72 -
73 - /// <summary>
74 - /// Looks up a localized string similar to Collection has {0} elements. Must have at least one..
75 - /// </summary>
76 - internal static string EXP_CollectionMustHaveAtLeastOneElement {
77 - get {
78 - return ResourceManager.GetString("EXP_CollectionMustHaveAtLeastOneElement", resourceCulture);
79 - }
80 - }
81 -
82 - /// <summary>
83 - /// Looks up a localized string similar to Element must be a subclass of {0}, but was of type {1}..
84 - /// </summary>
85 - internal static string EXP_ElementIsSubclassOfDifferentType {
86 - get {
87 - return ResourceManager.GetString("EXP_ElementIsSubclassOfDifferentType", resourceCulture);
88 - }
89 - }
90 -
91 - /// <summary>
92 - /// Looks up a localized string similar to Element of type {0} found in enumerator. Must be ChoiceItem or SequenceItem..
93 - /// </summary>
94 - internal static string EXP_ElementMustBeChoiceItemOrSequenceItem {
95 - get {
96 - return ResourceManager.GetString("EXP_ElementMustBeChoiceItemOrSequenceItem", resourceCulture);
97 - }
98 - }
99 -
100 - /// <summary>
101 - /// Looks up a localized string similar to Element of type {0} is not valid for this collection..
102 - /// </summary>
103 - internal static string EXP_ElementOfTypeIsNotValidForThisCollection {
104 - get {
105 - return ResourceManager.GetString("EXP_ElementOfTypeIsNotValidForThisCollection", resourceCulture);
106 - }
107 - }
108 -
109 - /// <summary>
110 - /// Looks up a localized string similar to ISchemaElement with name {0} does not implement ICreateChildren..
111 - /// </summary>
112 - internal static string EXP_ISchemaElementDoesnotImplementICreateChildren {
113 - get {
114 - return ResourceManager.GetString("EXP_ISchemaElementDoesnotImplementICreateChildren", resourceCulture);
115 - }
116 - }
117 -
118 - /// <summary>
119 - /// Looks up a localized string similar to ISchemaElement with name {0} does not implement ISetAttributes..
120 - /// </summary>
121 - internal static string EXP_ISchemaElementDoesnotImplementISetAttribute {
122 - get {
123 - return ResourceManager.GetString("EXP_ISchemaElementDoesnotImplementISetAttribute", resourceCulture);
124 - }
125 - }
126 -
127 - /// <summary>
128 - /// Looks up a localized string similar to A Merge table FileCompression column contains an invalid value &apos;{0}&apos;..
129 - /// </summary>
130 - public static string EXP_MergeTableFileCompressionColumnContainsInvalidValue {
131 - get {
132 - return ResourceManager.GetString("EXP_MergeTableFileCompressionColumnContainsInvalidValue", resourceCulture);
133 - }
134 - }
135 -
136 - /// <summary>
137 - /// Looks up a localized string similar to Multiple root elements found in file..
138 - /// </summary>
139 - internal static string EXP_MultipleRootElementsFoundInFile {
140 - get {
141 - return ResourceManager.GetString("EXP_MultipleRootElementsFoundInFile", resourceCulture);
142 - }
143 - }
144 -
145 - /// <summary>
146 - /// Looks up a localized string similar to Type {0} is not valid for this collection..
147 - /// </summary>
148 - internal static string EXP_TypeIsNotValidForThisCollection {
149 - get {
150 - return ResourceManager.GetString("EXP_TypeIsNotValidForThisCollection", resourceCulture);
151 - }
152 - }
153 -
72 /// <summary>
73 /// Looks up a localized string similar to Unknown column type: {0}.
74 /// </summary>
@@ -168,14 +86,5 @@ namespace WixToolset.Data {
86 return ResourceManager.GetString("EXP_UnsupportedTable", resourceCulture);
87 }
88 }
171 -
172 - /// <summary>
173 - /// Looks up a localized string similar to XmlElement with name {0} does not have a corresponding ISchemaElement..
174 - /// </summary>
175 - internal static string EXP_XmlElementDoesnotHaveISchemaElement {
176 - get {
177 - return ResourceManager.GetString("EXP_XmlElementDoesnotHaveISchemaElement", resourceCulture);
178 - }
179 - }
89 }
90 }
src/WixToolset.Data/WixDataStrings.resx
-33
@@ -120,43 +120,10 @@
120 <data name="EXP_UnsupportedTable" xml:space="preserve">
121 <value>The table {0} is not supported.</value>
122 </data>
123 - <data name="EXP_MergeTableFileCompressionColumnContainsInvalidValue" xml:space="preserve">
124 - <value>A Merge table FileCompression column contains an invalid value '{0}'.</value>
125 - </data>
126 - <data name="EXP_CannotSetMergeTableFileCompressionColumnToInvalidValue" xml:space="preserve">
127 - <value>A Merge table FileCompression column cannot be set to the invalid value '{0}'.</value>
128 - </data>
123 <data name="EXP_CannotModularizeIllegalID" xml:space="preserve">
124 <value>The value '{0}' is not a legal identifier and therefore cannot be modularized.</value>
125 </data>
126 <data name="EXP_UnknownColumnType" xml:space="preserve">
127 <value>Unknown column type: {0}</value>
128 </data>
135 - <data name="EXP_MultipleRootElementsFoundInFile" xml:space="preserve">
136 - <value>Multiple root elements found in file.</value>
137 - </data>
138 - <data name="EXP_ISchemaElementDoesnotImplementICreateChildren" xml:space="preserve">
139 - <value>ISchemaElement with name {0} does not implement ICreateChildren.</value>
140 - </data>
141 - <data name="EXP_ISchemaElementDoesnotImplementISetAttribute" xml:space="preserve">
142 - <value>ISchemaElement with name {0} does not implement ISetAttributes.</value>
143 - </data>
144 - <data name="EXP_XmlElementDoesnotHaveISchemaElement" xml:space="preserve">
145 - <value>XmlElement with name {0} does not have a corresponding ISchemaElement.</value>
146 - </data>
147 - <data name="EXP_CollectionMustHaveAtLeastOneElement" xml:space="preserve">
148 - <value>Collection has {0} elements. Must have at least one.</value>
149 - </data>
150 - <data name="EXP_ElementIsSubclassOfDifferentType" xml:space="preserve">
151 - <value>Element must be a subclass of {0}, but was of type {1}.</value>
152 - </data>
153 - <data name="EXP_ElementOfTypeIsNotValidForThisCollection" xml:space="preserve">
154 - <value>Element of type {0} is not valid for this collection.</value>
155 - </data>
156 - <data name="EXP_TypeIsNotValidForThisCollection" xml:space="preserve">
157 - <value>Type {0} is not valid for this collection.</value>
158 - </data>
159 - <data name="EXP_ElementMustBeChoiceItemOrSequenceItem" xml:space="preserve">
160 - <value>Element of type {0} found in enumerator. Must be ChoiceItem or SequenceItem.</value>
161 - </data>
129 </root>
\ No newline at end of file
src/WixToolset.Data/WixToolset.Data.csproj
+15
@@ -20,4 +20,19 @@
20 <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
21 <PackageReference Include="Nerdbank.GitVersioning" Version="3.1.91" PrivateAssets="all" />
22 </ItemGroup>
23 +
24 + <ItemGroup>
25 + <Compile Update="WixDataStrings.Designer.cs">
26 + <DesignTime>True</DesignTime>
27 + <AutoGen>True</AutoGen>
28 + <DependentUpon>WixDataStrings.resx</DependentUpon>
29 + </Compile>
30 + </ItemGroup>
31 +
32 + <ItemGroup>
33 + <EmbeddedResource Update="WixDataStrings.resx">
34 + <Generator>PublicResXFileCodeGenerator</Generator>
35 + <LastGenOutput>WixDataStrings.Designer.cs</LastGenOutput>
36 + </EmbeddedResource>
37 + </ItemGroup>
38 </Project>