[Python.NET] Urgent Bug Report: clr.AddReference

Ranya Fafi <[email protected]> Wed, 20 Dec 2017 21:45:13 +0100
Newsgroups gmane.comp.python.dotnet
Message-ID <CAAqz=gZpqZCnqYk89PEaMt4GS-9nj+N0k3cDepmaePmqh-5pzQ@mail.gmail.com>
Hi,
Am trying to use clr.AddReference and clr.AddReferenceToFile, but
python(2.7) keeps making this error:

Traceback (most recent call last):
  File "<pyshell#5>", line 1, in <module>
    clr.AddReference("UnityEngine")AttributeError: 'module' object has
no attribute 'AddReference'

How can I fix this?
Thanks in advance.

_________________________________________________
Python.NET mailing list - [email protected]
https://mail.python.org/mailman/listinfo/pythondotnet