Identifying the Provider

A manifest can identify one or more providers. To identify a provider, use the provider element. You must specify the name, guid, resourceFileName, messageFileName, and symbol attributes. If you localize your manifest, you should also specify the message attribute, which consumers use as the display the name of the provider. If you do not specify the message attribute, consumers use the value of the name attribute.

You can identify up to 16 providers in the manifest. If you want to identify more than 16 providers, you must include the messageTable section of the manifest that the seventeenth and on providers must use to assign resource values for the message strings that they defineā€”the message table must not include any message strings that providers 1 through 16 defined.

The following example shows how to use the provider element to identify a provider.


            <provider name="Microsoft-Windows-SampleProvider" 
                resourceFileName="<path to the exe or dll that contains the metadata resources>" 
                messageFileName="<path to the exe or dll that contains the string resources>"

                . . .


        <resources culture="en-US">
                <string id="Provider.Name" value="Microsoft-Windows-SampleProvider"/>