Re: [Python.NET] C# components for script

2008-11-12 Thread Tribble, Brett
nfigfileName)) # load it up clr.AddReference(assemblyName) Cheers, Brett From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Singh, Mandeep Sent: Monday, November 10, 2008 7:56 PM To: pythondotnet@python.org Subject: [Python.NET] C# components for script Hi, I have written c# compo

Re: [Python.NET] C# components for script

2008-11-12 Thread Maksim Kozyarchuk
Mandeep, You have 2 options. * You can use LoadFrom to load the dll from a particular location import clr import System System.Reflection.Assembly.LoadFrom("your.DLL") * If your DLL and Namespace have the same name python.net should be able to find the dll in the PYTHONPATH

Re: [Python.NET] C# components for script

2008-11-11 Thread Sandro Hardy
Hi, it works like I wrote in my first mail. Tried it now. So put your dll in your App-Dir. Sandro Hardy schrieb: Hi, sorry, my Fault. My dll ist also in my Pythonnet dir. Sandro Hardy schrieb: Hi, you can place them in your AppDir, i did so. Maybe somewhere else, perhaps in your dll pa

Re: [Python.NET] C# components for script

2008-11-11 Thread Sandro Hardy
Hi, sorry, my Fault. My dll ist also in my Pythonnet dir. Sandro Hardy schrieb: Hi, you can place them in your AppDir, i did so. Maybe somewhere else, perhaps in your dll path, but I dont know. Try it. Singh, Mandeep schrieb: Hi, I have written c# components to be used by Python.

Re: [Python.NET] C# components for script

2008-11-11 Thread Sandro Hardy
Hi, you can place them in your AppDir, i did so. Maybe somewhere else, perhaps in your dll path, but I dont know. Try it. Singh, Mandeep schrieb: Hi, I have written c# components to be used by Python. I note that those components need to be placed in the Pythonnet installation dir

[Python.NET] C# components for script

2008-11-10 Thread Singh, Mandeep
Hi, I have written c# components to be used by Python. I note that those components need to be placed in the Pythonnet installation directory because its like private assemblies being loaded. Is there a way I can place them in separate location? Thanks & regards, Mandeep Singh Equity IT >