Skip to content

Issues using coreclr on Linux #613

Closed
@Cronan

Description

@Cronan

Environment

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions