I have a very simple custom resource provider implementation , which looks like this:
Public Class XXCustomResourceProviderFactory
Inherits ResourceProviderFactory
Public Overrides Function CreateGlobalResourceProvider
Return New XXCustomResourceProvider(Nothing, classKey)
End function
CreateLocalResourceProvider returns nothing, as does the ResourceReader property of XXCustomResourceProvider .
XXCustomResourceProvider.Getobject() always returns the string "hello world".
I have registered the XXCustomResourceProviderFactory.dll in the GAC using gacutil, but website which uses this dll does not build ( says its cant find type XXCustomResourceProviderFactory in the assembly ). My config file does have
<system.web>
<
globalization resourceProviderFactoryType="XXCustomResourceProviders" ........
Also, on the control in my aspx page, I use attribute like
Text="<%$ Resources:XYZ, MorningGreeting %>"
. Is this correct?