diff options
Diffstat (limited to 'src/wixext/messages.cs')
| -rw-r--r-- | src/wixext/messages.cs | 237 |
1 files changed, 237 insertions, 0 deletions
diff --git a/src/wixext/messages.cs b/src/wixext/messages.cs new file mode 100644 index 00000000..8b43bd9f --- /dev/null +++ b/src/wixext/messages.cs | |||
| @@ -0,0 +1,237 @@ | |||
| 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.Extensions | ||
| 12 | { | ||
| 13 | using System; | ||
| 14 | using System.Reflection; | ||
| 15 | using System.Resources; | ||
| 16 | using WixToolset.Data; | ||
| 17 | |||
| 18 | |||
| 19 | public class IIsErrorEventArgs : MessageEventArgs | ||
| 20 | { | ||
| 21 | |||
| 22 | private static ResourceManager resourceManager = new ResourceManager("WixToolset.Extensions.Data.Messages", Assembly.GetExecutingAssembly()); | ||
| 23 | |||
| 24 | public IIsErrorEventArgs(SourceLineNumber sourceLineNumbers, int id, string resourceName, params object[] messageArgs) : | ||
| 25 | base(sourceLineNumbers, id, resourceName, messageArgs) | ||
| 26 | { | ||
| 27 | base.ResourceManager = resourceManager; | ||
| 28 | } | ||
| 29 | } | ||
| 30 | |||
| 31 | public sealed class IIsErrors | ||
| 32 | { | ||
| 33 | |||
| 34 | private IIsErrors() | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public static MessageEventArgs MimeMapExtensionMissingPeriod(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string attributeValue) | ||
| 39 | { | ||
| 40 | return new IIsErrorEventArgs(sourceLineNumbers, 5150, "IIsErrors_MimeMapExtensionMissingPeriod_1", elementName, attributeName, attributeValue); | ||
| 41 | } | ||
| 42 | |||
| 43 | public static MessageEventArgs IllegalAttributeWithoutComponent(SourceLineNumber sourceLineNumbers, string elementName, string attributeName) | ||
| 44 | { | ||
| 45 | return new IIsErrorEventArgs(sourceLineNumbers, 5151, "IIsErrors_IllegalAttributeWithoutComponent_1", elementName, attributeName); | ||
| 46 | } | ||
| 47 | |||
| 48 | public static MessageEventArgs IllegalElementWithoutComponent(SourceLineNumber sourceLineNumbers, string elementName) | ||
| 49 | { | ||
| 50 | return new IIsErrorEventArgs(sourceLineNumbers, 5152, "IIsErrors_IllegalElementWithoutComponent_1", elementName); | ||
| 51 | } | ||
| 52 | |||
| 53 | public static MessageEventArgs OneOfAttributesRequiredUnderComponent(SourceLineNumber sourceLineNumbers, string elementName, string attributeName1, string attributeName2, string attributeName3, string attributeName4) | ||
| 54 | { | ||
| 55 | return new IIsErrorEventArgs(sourceLineNumbers, 5153, "IIsErrors_OneOfAttributesRequiredUnderComponent_1", elementName, attributeName1, attributeName2, attributeName3, attributeName4); | ||
| 56 | } | ||
| 57 | |||
| 58 | public static MessageEventArgs WebSiteAttributeUnderWebSite(SourceLineNumber sourceLineNumbers, string elementName) | ||
| 59 | { | ||
| 60 | return new IIsErrorEventArgs(sourceLineNumbers, 5154, "IIsErrors_WebSiteAttributeUnderWebSite_1", elementName); | ||
| 61 | } | ||
| 62 | |||
| 63 | public static MessageEventArgs WebApplicationAlreadySpecified(SourceLineNumber sourceLineNumbers, string elementName) | ||
| 64 | { | ||
| 65 | return new IIsErrorEventArgs(sourceLineNumbers, 5155, "IIsErrors_WebApplicationAlreadySpecified_1", elementName); | ||
| 66 | } | ||
| 67 | |||
| 68 | public static MessageEventArgs IllegalCharacterInAttributeValue(SourceLineNumber sourceLineNumbers, string elementName, string attributeName, string value, char illegalCharacter) | ||
| 69 | { | ||
| 70 | return new IIsErrorEventArgs(sourceLineNumbers, 5156, "IIsErrors_IllegalCharacterInAttributeValue_1", elementName, attributeName, value, illegalCharacter); | ||
| 71 | } | ||
| 72 | |||
| 73 | public static MessageEventArgs DeprecatedBinaryChildElement(SourceLineNumber sourceLineNumbers, string elementName) | ||
| 74 | { | ||
| 75 | return new IIsErrorEventArgs(sourceLineNumbers, 5157, "IIsErrors_DeprecatedBinaryChildElement_1", elementName); | ||
| 76 | } | ||
| 77 | |||
| 78 | public static MessageEventArgs WebSiteNotFound(string webSiteDescription) | ||
| 79 | { | ||
| 80 | return new IIsErrorEventArgs(null, 5158, "IIsErrors_WebSiteNotFound_1", webSiteDescription); | ||
| 81 | } | ||
| 82 | |||
| 83 | public static MessageEventArgs InsufficientPermissionHarvestWebSite() | ||
| 84 | { | ||
| 85 | return new IIsErrorEventArgs(null, 5159, "IIsErrors_InsufficientPermissionHarvestWebSite_1"); | ||
| 86 | } | ||
| 87 | |||
| 88 | public static MessageEventArgs CannotHarvestWebSite() | ||
| 89 | { | ||
| 90 | return new IIsErrorEventArgs(null, 5160, "IIsErrors_CannotHarvestWebSite_1"); | ||
| 91 | } | ||
| 92 | |||
| 93 | public static MessageEventArgs RequiredAttributeUnderComponent(SourceLineNumber sourceLineNumbers, string elementName, string attributeName) | ||
| 94 | { | ||
| 95 | return new IIsErrorEventArgs(sourceLineNumbers, 5161, "IIsErrors_RequiredAttributeUnderComponent_1", elementName, attributeName); | ||
| 96 | } | ||
| 97 | } | ||
| 98 | |||
| 99 | public class IIsWarningEventArgs : MessageEventArgs | ||
| 100 | { | ||
| 101 | |||
| 102 | private static ResourceManager resourceManager = new ResourceManager("WixToolset.Extensions.Data.Messages", Assembly.GetExecutingAssembly()); | ||
| 103 | |||
| 104 | public IIsWarningEventArgs(SourceLineNumber sourceLineNumbers, int id, string resourceName, params object[] messageArgs) : | ||
| 105 | base(sourceLineNumbers, id, resourceName, messageArgs) | ||
| 106 | { | ||
| 107 | base.ResourceManager = resourceManager; | ||
| 108 | } | ||
| 109 | } | ||
| 110 | |||
| 111 | public sealed class IIsWarnings | ||
| 112 | { | ||
| 113 | |||
| 114 | private IIsWarnings() | ||
| 115 | { | ||
| 116 | } | ||
| 117 | |||
| 118 | public static MessageEventArgs EncounteredNullDirectoryForWebSite(string directory) | ||
| 119 | { | ||
| 120 | return new IIsWarningEventArgs(null, 5400, "IIsWarnings_EncounteredNullDirectoryForWebSite_1", directory); | ||
| 121 | } | ||
| 122 | } | ||
| 123 | |||
| 124 | public class IIsVerboseEventArgs : MessageEventArgs | ||
| 125 | { | ||
| 126 | |||
| 127 | private static ResourceManager resourceManager = new ResourceManager("WixToolset.Extensions.Data.Messages", Assembly.GetExecutingAssembly()); | ||
| 128 | |||
| 129 | public IIsVerboseEventArgs(SourceLineNumber sourceLineNumbers, int id, string resourceName, params object[] messageArgs) : | ||
| 130 | base(sourceLineNumbers, id, resourceName, messageArgs) | ||
| 131 | { | ||
| 132 | base.ResourceManager = resourceManager; | ||
| 133 | } | ||
| 134 | } | ||
| 135 | |||
| 136 | public sealed class IIsVerboses | ||
| 137 | { | ||
| 138 | |||
| 139 | private IIsVerboses() | ||
| 140 | { | ||
| 141 | } | ||
| 142 | } | ||
| 143 | } | ||
| 144 | |||
| 145 | /* | ||
| 146 | <?xml version='1.0' encoding='utf-8'?> | ||
| 147 | <!-- 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. --> | ||
| 148 | |||
| 149 | |||
| 150 | <Messages Namespace="WixToolset.Extensions" Resources="Data.Messages" xmlns="http://schemas.microsoft.com/genmsgs/2004/07/messages"> | ||
| 151 | <Class Name="IIsErrors" ContainerName="IIsErrorEventArgs" BaseContainerName="MessageEventArgs"> | ||
| 152 | <Message Id="MimeMapExtensionMissingPeriod" Number="5150"> | ||
| 153 | <Instance>The {0}/@{1} attribute's value, '{2}', is not a valid mime map extension. It must begin with a period. | ||
| 154 | <Parameter Type="System.String" Name="elementName" /> | ||
| 155 | <Parameter Type="System.String" Name="attributeName" /> | ||
| 156 | <Parameter Type="System.String" Name="attributeValue" /> | ||
| 157 | </Instance> | ||
| 158 | </Message> | ||
| 159 | <Message Id="IllegalAttributeWithoutComponent" Number="5151"> | ||
| 160 | <Instance>The {0}/@{1} attribute cannot be specified unless the element has a Component as an ancestor. A {0} that does not have a Component ancestor is not installed. | ||
| 161 | <Parameter Type="System.String" Name="elementName" /> | ||
| 162 | <Parameter Type="System.String" Name="attributeName" /> | ||
| 163 | </Instance> | ||
| 164 | </Message> | ||
| 165 | <Message Id="IllegalElementWithoutComponent" Number="5152"> | ||
| 166 | <Instance>The {0} element cannot be specified unless the element has a Component as an ancestor. A {0} that does not have a Component ancestor is not installed. | ||
| 167 | <Parameter Type="System.String" Name="elementName" /> | ||
| 168 | </Instance> | ||
| 169 | </Message> | ||
| 170 | <Message Id="OneOfAttributesRequiredUnderComponent" Number="5153"> | ||
| 171 | <Instance>When nested under a Component, the {0} element must have one of the following attributes specified: {1}, {2}, {3} or {4}. | ||
| 172 | <Parameter Type="System.String" Name="elementName" /> | ||
| 173 | <Parameter Type="System.String" Name="attributeName1" /> | ||
| 174 | <Parameter Type="System.String" Name="attributeName2" /> | ||
| 175 | <Parameter Type="System.String" Name="attributeName3" /> | ||
| 176 | <Parameter Type="System.String" Name="attributeName4" /> | ||
| 177 | </Instance> | ||
| 178 | </Message> | ||
| 179 | <Message Id="WebSiteAttributeUnderWebSite" Number="5154"> | ||
| 180 | <Instance>The {0}/@WebSite attribute cannot be specified when the {0} element is nested under a WebSite element. | ||
| 181 | <Parameter Type="System.String" Name="elementName" /> | ||
| 182 | </Instance> | ||
| 183 | </Message> | ||
| 184 | <Message Id="WebApplicationAlreadySpecified" Number="5155"> | ||
| 185 | <Instance>The {0} element can have at most a single WebApplication specified. This can be either through the WebApplication attribute, or through a nested WebApplication element, but not both. | ||
| 186 | <Parameter Type="System.String" Name="elementName" /> | ||
| 187 | </Instance> | ||
| 188 | </Message> | ||
| 189 | <Message Id="IllegalCharacterInAttributeValue" Number="5156"> | ||
| 190 | <Instance> | ||
| 191 | The {0}/@{1} attribute's value, '{2}', is invalid. It cannot contain the character '{3}'. | ||
| 192 | <Parameter Type="System.String" Name="elementName" /> | ||
| 193 | <Parameter Type="System.String" Name="attributeName" /> | ||
| 194 | <Parameter Type="System.String" Name="value" /> | ||
| 195 | <Parameter Type="System.Char" Name="illegalCharacter" /> | ||
| 196 | </Instance> | ||
| 197 | </Message> | ||
| 198 | <Message Id="DeprecatedBinaryChildElement" Number="5157"> | ||
| 199 | <Instance>The {0} element contains a deprecated child Binary element. Please move the Binary element under a Fragment, Module, or Product element and set the {0}/@BinaryKey attribute to the value of the Binary/@Id attribute. | ||
| 200 | <Parameter Type="System.String" Name="elementName" /> | ||
| 201 | </Instance> | ||
| 202 | </Message> | ||
| 203 | <Message Id="WebSiteNotFound" Number="5158" SourceLineNumbers="no"> | ||
| 204 | <Instance> | ||
| 205 | The web site '{0}' could not be found. Please check that the web site exists, and that it is spelled correctly (please note, you must use the correct case). | ||
| 206 | <Parameter Type="System.String" Name="webSiteDescription" /> | ||
| 207 | </Instance> | ||
| 208 | </Message> | ||
| 209 | <Message Id="InsufficientPermissionHarvestWebSite" Number="5159" SourceLineNumbers="no"> | ||
| 210 | <Instance> | ||
| 211 | Not enough permissions to harvest website. On Windows Vista, you must run Heat elevated. | ||
| 212 | </Instance> | ||
| 213 | </Message> | ||
| 214 | <Message Id="CannotHarvestWebSite" Number="5160" SourceLineNumbers="no"> | ||
| 215 | <Instance> | ||
| 216 | Cannot harvest website. On Windows Vista, you must install IIS 6 Management Compatibility. | ||
| 217 | </Instance> | ||
| 218 | </Message> | ||
| 219 | <Message Id="RequiredAttributeUnderComponent" Number="5161"> | ||
| 220 | <Instance>The {0}/@{1} attribute must be specified when the element has a Component as an ancestor. | ||
| 221 | <Parameter Type="System.String" Name="elementName" /> | ||
| 222 | <Parameter Type="System.String" Name="attributeName" /> | ||
| 223 | </Instance> | ||
| 224 | </Message> | ||
| 225 | </Class> | ||
| 226 | <Class Name="IIsWarnings" ContainerName="IIsWarningEventArgs" BaseContainerName="MessageEventArgs"> | ||
| 227 | <Message Id="EncounteredNullDirectoryForWebSite" Number="5400" SourceLineNumbers="no"> | ||
| 228 | <Instance> | ||
| 229 | Could not harvest website directory: {0}. Please update the output with the appropriate directory ID before using. | ||
| 230 | <Parameter Type="System.String" Name="directory" /> | ||
| 231 | </Instance> | ||
| 232 | </Message> | ||
| 233 | </Class> | ||
| 234 | <Class Name="IIsVerboses" ContainerName="IIsVerboseEventArgs" BaseContainerName="MessageEventArgs"> | ||
| 235 | </Class> | ||
| 236 | </Messages> | ||
| 237 | */ \ No newline at end of file | ||
