<?xml version='1.0' encoding='utf-8'?>
<!-- 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. -->


<Messages Namespace="Microsoft.Tools.WindowsInstallerXml.Extensions" Resources="Data.Messages" xmlns="http://schemas.microsoft.com/genmsgs/2004/07/messages">
    <Class Name="SqlErrors" ContainerName="SqlErrorEventArgs" BaseContainerName="WixErrorEventArgs">
        <Message Id="IllegalAttributeWithoutComponent" Number="5100">
            <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.
                <Parameter Type="System.String" Name="elementName" />
                <Parameter Type="System.String" Name="attributeName" />
            </Instance>
        </Message>
        <Message Id="IllegalElementWithoutComponent" Number="5101">
            <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.
                <Parameter Type="System.String" Name="elementName" />
            </Instance>
        </Message>
        <Message Id="OneOfAttributesRequiredUnderComponent" Number="5102">
            <Instance>
                When nested under a Component, the {0} element must have one of the following attributes specified: {1}, {2}, {3} or {4}.
                <Parameter Type="System.String" Name="elementName" />
                <Parameter Type="System.String" Name="attributeName1" />
                <Parameter Type="System.String" Name="attributeName2" />
                <Parameter Type="System.String" Name="attributeName3" />
                <Parameter Type="System.String" Name="attributeName4" />
            </Instance>
        </Message>
        <Message Id="DeprecatedBinaryChildElement" Number="5103">
            <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.
                <Parameter Type="System.String" Name="elementName" />
            </Instance>
        </Message>
    </Class>
    <Class Name="SqlWarnings" ContainerName="SqlWarningEventArgs" BaseContainerName="WixWarningEventArgs">
    </Class>
    <Class Name="SqlVerboses" ContainerName="SqlVerboseEventArgs" BaseContainerName="WixVerboseEventArgs">
    </Class>
</Messages>
