我想从App_LocalResources
文件夹
var resourceObject = new JObject();
var resourceManager = new ResourceManager("Resources.ResourceFileName", System.Reflection.Assembly.Load("App_LocalResources"));
var resourceSet = resourceManager.GetResourceSet(new CultureInfo(lang), true, true);
var enumerator = resourceSet.GetEnumerator();
while (enumerator.MoveNext())
{
resourceObject.Add(enumerator.Key.ToString(), enumerator.Value.ToString());
}
但我得到了异常
Could not load file or assembly 'App_LocalResources' or one of its dependencies. The system cannot find the file specified.":"App_LocalResources
有可能吗?