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

Ranya Fafi ranyafafi93 at gmail.com
Wed Dec 20 15:45:13 EST 2017

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythondotnet/attachments/20171220/8d068ad3/attachment.html>

More information about the PythonDotNet mailing list