Forum: IronRuby Microsoft.Scripting.ExtensionAttribute

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
6beced7e1914e4ed0b7232c73e6eac43?d=identicon&s=25 Aaron Clauson (aaronc)
on 2008-10-18 06: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?

Regards,

Aaron
F983f0c990cba2fe743ef62a975ec99c?d=identicon&s=25 Curt Hagenlocher (Guest)
on 2008-10-18 16: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 |
AttributeTargets.Assembly)]
    public sealed class ExtensionAttribute : Attribute { }
}
6beced7e1914e4ed0b7232c73e6eac43?d=identicon&s=25 Aaron Clauson (aaronc)
on 2008-10-18 17:08
Thanks Curt. I'll add that code in and see how I go.

Regards,

Aaron
This topic is locked and can not be replied to.