This project is read-only.

How to reference assemblies to use with IronScheme (having issues)

Aug 25, 2011 at 6:24 PM

I am having issues referencing .NET assemblies to use in IronScheme.

Any time I try to do reference a DLL like this...

(clr-reference System)
(clr-reference System.Data)
(clr-reference System.Windows.Forms)

I get this error:

  Unhandled exception durring evaluation:&who: "clr-reference" &message: "Assembly not found" &syntax: form: ( <the assembly> ) subform: #f

I call (import (rnrs) (ironscheme clr)) to begin with. Is there something else I have to do?

I saw this post on creating WinForms in IronScheme, but any time I try to do reference a DLL like this:
Aug 25, 2011 at 8:14 PM


Thanks, this appears to be a bug that has crept in!

Will fix ASAP :)



Aug 25, 2011 at 8:15 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Aug 25, 2011 at 8:28 PM

Fixed, thanks again!

Kinda embarrassing bug :)

Aug 25, 2011 at 11:33 PM

Glad I could help. :)

Aug 26, 2011 at 5:30 AM

IF you want to use it for now (without getting/rebuilding source), you can use:

(clr-reference "System.Windows.Forms, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089")

which is what MS seems to recommend.