Imports all resources from a given directory. This method works for any resources.

When using LocalResources, make sure to provide an app relative path as the second parameter if the resources live in non root folder. So if you have resources in off an Admin folder use "admin/" as the parameter. Otherwise for web root resources or global or assembly level assemblies pass string.Empty or null.

public bool ImportDirectoryResources(string path,
	string relativePath)


Physical Path for the Resources

Optional - relative path prefix for Web App_LocalResources (ie. admin/)

See also:

Class DbResXConverter

© West Wind Technologies, 2006 - 2019 • Updated: 01/24/18
Comment or report problem with topic