Creates an ASP.NET compatible strongly typed resource from a ResX file in ASP.NET. The class generated works only for Global Resources by calling GetGlobalResourceObject.
This routine parses the raw ResX files since you can't easily get access to the active ResourceManager in an ASP.NET application since the assembly is dynamically named and not easily accessible.
public string CreateClassFromResXResource(string ResXFile, string Namespace, string Classname, string FileName)
Parameters
ResXFile
Namespace
Classname
FileName
Output filename for the CSharp class. If null no file is generated and only the class is returned
See also:
Class StronglyTypedResources© West Wind Technologies, 2006 - 2019 • Updated: 01/24/18
Comment or report problem with topic