..However when I load your assembly It raises an exception
Try this one attached for 2007 & 2008, If you still get the exception, maybe you can attach it so I can debug it. It works well with my machine. Also this one is linked with IronPython 1.1
..but can I still access the function for registering commands from C#?
You should be able to add commands from C# using
PyAcad.CcStorage.StoreCmd(String strCmd ,String path)
Then
PyAcad.CcStorage.RegCmd(String strCmd)
But this .DLL will needed to be netloaded for the reactors to fire. Of course you could also build your own reactors in C#.
.If possible I would also would want to use Python decorators as the method to define a command
Sure, All you need to do is search the file for decorators then register the commands, Though did not see any method in IronPython for executing/accessing individual functions within a .py file. I am sure it’s possible, I just didn’t see it.
This is just a start though