[Python.NET] Loading custom Assembly with Assembly.Load

newbie73 luis.cota at avmltd.com
Mon Oct 29 18:52:41 CET 2007


I have attempted to load a custom .NET Assembly like this:

Assembly.LoadWithPartialName("MyAssembly")

This call executes without errors.  However, when attempting to load the
namespace, nothing appears to work.

from clr import MyNameSpace

Always returns an error:

ImportError: cannot import name MyNameSpace

Any ideas what could be wrong?  I am using .NET 2.0 and Python 2.5.

Thanks...

- Luis
-- 
View this message in context: http://www.nabble.com/Loading-custom-Assembly-with-Assembly.Load-tf4713389.html#a13473068
Sent from the Python - pythondotnet mailing list archive at Nabble.com.



More information about the PythonDotNet mailing list