Microsoft.Scripting.ExtensionAttribute


#1

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


#2

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 { }
}


#3

Thanks Curt. I’ll add that code in and see how I go.

Regards,

Aaron