Last post Oct 23, 2008 11:12 AM by bigtower
Oct 23, 2008 09:32 AM|bigtower|LINK
I have a very simple custom resource provider implementation , which looks like this:
Public Class XXCustomResourceProviderFactory
Public Overrides Function CreateGlobalResourceProvider
Return New XXCustomResourceProvider(Nothing, classKey)
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
. Is this correct?
local resource asp:Localize culture
Oct 23, 2008 11:12 AM|bigtower|LINK
it seems the type I was using was wrong, it should have been namespace.classname in this line
resourceProviderFactoryType = ........