Unfortunately that is the one I'm using ...

The only thing I have down to the out-of-the-box download is run: corflags 
/32bit- /force on ir.exe so that I can run it 64-bit (an underlying assembly I 
use is x64 only)

I tried the same test using the latest IronPython bits and it works fine there.

From: ironruby-core-boun...@rubyforge.org 
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Ivan Porto Carrero
Sent: Tuesday, March 02, 2010 5:15 PM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Consuming DynamicObjects in IronRuby

try this one? http://ironruby.codeplex.com/releases/view/40175
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Web: http://whiterabbitconsulting.eu - http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
Microsoft IronRuby/C# MVP

On Tue, Mar 2, 2010 at 10:22 PM, Robert Walker 
<rwal...@kinaxis.com<mailto:rwal...@kinaxis.com>> wrote:
(All work done with VS2010 RC and matching IronRuby build (v0.9.40, 07-Feb-10)).

I have a C# assembly that implements a dynamic object. When I try to use this 
object from Ruby I get the error:

>>> r.StdUnitCost
System.Core:0:in `BindCore': unbound variable: Param_0 (TypeError)
        from (ir):1

This usage works fine from a test C# 4.0 app using the 'dynamic' keyword.

I suspect that the issue is related to the version of the DLR in use -- there 
are a number of 'InvalidOperationExceptions' being thrown from the 
Microsoft.Dynamic.dll and I believe this is no longer a shipping assembly with 
.NET 4?

Is there a (simple) work around for this?

Thanks,

Rob Walker
Senior Software Architect
[cid:image001.gif@01CABA2D.79A399E0]<http://www.kinaxis.com/>
http://www.kinaxis.com
Kinaxis
700 Silver Seven Road
Ottawa, ON, Canada K2V 1C3
Office:

+1 613.592.5780 ext. 5282

Fax:

+1 613.592.0584



_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org<mailto:Ironruby-core@rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core

<<inline: image001.gif>>

_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to