Forum: IronRuby Microsoft.Scripting.ExtensionAttribute

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Aaron C. (Guest)
on 2008-10-18 08:57
Hi All,

I'm attempting to build from Trunk but am having a problem with assembly
references. The main projects are referencing a
Microsoft.Scripting.ExtensionAttribute assembly that doesn't seem to be
in svn.

The object that seems to be heavily used from that assembly is
System.Runtime.CompilerServices.ExtensionAttribute can also be found in
System.Core but adding a reference to that for the Microsoft.Scripting
project generates 900 errors.

Is there a trick to building from Trunk now or is the missing
Microsoft.Scripting.ExtensionAttribute assembly required?


Curt H. (Guest)
on 2008-10-18 18:15
(Received via mailing list)
We've had to do a lot of tap-dancing to deal with the overlap between
Microsoft.Scripting.Core and System.Core.  Some of this ended up being
very "last minute" as part of releasing IronPython 2.0 -- and these
changes haven't necessarily made it into the IronRuby export script.
We're trying to juggle that with PDC preparation right now, so I don't
know how quickly the script will be updated.

The added assembly really contains nothing but the following code:

namespace System.Runtime.CompilerServices {
  [AttributeUsage(AttributeTargets.Method | AttributeTargets.Class |
    public sealed class ExtensionAttribute : Attribute { }
Aaron C. (Guest)
on 2008-10-18 19:08
Thanks Curt. I'll add that code in and see how I go.


This topic is locked and can not be replied to.