आप इस तरह के त्रुटि संदेश को कैसे हल करते हैं?एफ # इंटरैक्टिव, डीएल संदर्भ पर एपीआई प्रतिबंध
`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()
मैं यह जवाब यहां जोड़ रहा हूं, क्योंकि मुझे गुगलिंग के दौरान यह नहीं मिला, इंटरैक्टिव को पुनः लोड करने में मदद नहीं मिली और मुझे जवाब के लिए अपना रास्ता अनुमान लगाया गया (जो काम करता था)। तो, गूगल, यहाँ कुछ चारा है। – Henrik