I am currently using Python for .NET to call methods from a C# DLL. Here is my code :
# Common Language Runtime
import clr
# Import DLL
clr.AddReference("MyDLL")
# Import class
from MyNamespace import MyClass
# Instantiation
my_instance = MyClass()
# Call methods
my_instance.myMethod()
Now, I'd like to unload and remove the DLL reference after I'm done with my instance so I can do whatever I have to do with the DLL file (like regenerate it). I've read the Python for .NET documentation but I couldn't find anything about this issue.