[IronPython] IP Tutorial Error

Catalin Lungu lcatalin at siadv.com
Tue Jan 3 16:58:05 CET 2006


Hello,
I compiled the folowing class with "csc" to csextend.dll

using System;
using System.Collections;

public class Simple
{
 private int data;
 public Simple(int data)
 {
  this.data = data;
 }
 public override string ToString()
 {
  return String.Format("Simple<{0}>", data);
 }
}

When I try to use the "csextend.dll" module the return variable is null.
>>import clr
>>a=clr.AddReferenceToFile("csextend.dll")
>>print a
None
By the way I have tried with another .cs module and I receive the same result.
I use VS2005 Professional and IronPython 1.0 - Beta1

Any ideea?
Catalin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20060103/36b13731/attachment.html>


More information about the Ironpython-users mailing list