Closed
Description
Environment
- Pythonnet version: PR Initial coreclr and build tooling #612
- Python version: Python 2.7.11
- Operating System: RH Linux
Using the code in PR #612, I get the following errors trying some basic tests:
>>> import clr
>>> from System import Environment
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name Environment
>>> import clr
>>> from System import Array
>>> a = Array[int](100)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: Cannot convert 100 to System.Int32[]
>>> import clr
>>> clr.AddReference("System.Drawing")
<System.Reflection.RuntimeAssembly object at 0x7f0c58881990>
Metadata
Metadata
Assignees
Labels
No labels