Did anyone notice the difference in loading .NET dlls between notebook and normal python scripts.
This works in notebook:
import clr
clr.AddReference(r"C:\path2dll\dotnetdll")
But in regular python scripts, the sys.path has to be appended with the path to DLL:
import clr
import sys
sys.path.append(r"C:\path2dll")
clr.AddReference("dotnetdll")