Hi,

The question is whether anyone can tell me how to add a namespace to a
PE file that was created from a python file using the PythonCompiler?

I used the PythonCompiler from IronPython.Hosting to create a DLL
assembly, but after adding a reference to the file and attempting to
use the using namespace directive from C# to access the classes of the
DLL all I get is an error

Hosting.cs(3,7): error CS0138: A using namespace directive can only be applied
        to namespaces; 'service' is a type not a namespace

I used the .NET reflector to inspect the PE and sure enough there
doesn't seem to be a namespace or more specifically it seems to be a
zero length string.

tia,

Anthony
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to