¿Cómo resuelve el mensaje de error que se ve así?F # interactivo, restricción de API en la referencia dll
`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.
Código que lo activa, podría tener este aspecto:
#r @"..\packages\NLog.2.0.0.2000\lib\net20\NLog.dll"
NLog.Config.SimpleConfigurator.ConfigureForConsoleLogging()
Agregué esta respuesta aquí, porque no pude encontrarla mientras busqué en Google, volver a cargar el interactivo no me ayudó y tuve que adivinar mi camino hacia la respuesta (que funcionó). Entonces, google, aquí hay algo de forraje. – Henrik