你如何解决看起来像这样的错误消息?
原文链接:https://www.f2er.com/windows/363368.html`Binding session to 'C:\Program Files (x86)\NLog\.NET Framework 4.0\NLog.dll'... error FS0193: API restriction: The assembly 'file:///C:\Program Files (x86)\NLog\.NET Framework 4.0\NLog.dll' has already loaded from a different location. It cannot be loaded from a new location within the same appdomain.
触发它的代码可能如下所示:
#r @"..\packages\NLog.2.0.0.2000\lib\net20\NLog.dll" NLog.Config.SimpleConfigurator.ConfigureForConsoleLogging()