This repository was archived by the owner on Feb 21, 2022. It is now read-only.

Description
private void InitLog()
{
if (hasInitialize) return;
var properties = new NameValueCollection();
properties["configType"] = "FILE";
properties["configFile"] = "~/App_Data/config/NLog.config";
LogManager.Adapter = new Common.Logging.NLog.NLogLoggerFactoryAdapter(properties);
log = LogManager.GetLogger("Magicodes.Core.Strategy.Logger");
hasInitialize = true;
}
提示:未能加载文件或程序集“NLog, Version=3.2.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c”或它的某一个依赖项。系统找不到指定的文件。
但是工程里面的dll引用是OK的。这是什么原因呢