# Microsoft.Scripting.ExtensionAttribute

**URL:** <https://www.ruby-forum.com/t/microsoft-scripting-extensionattribute/151213>\
**Category:** IronRuby\
**Created:** [October 18, 2008, 6:57am UTC](https://www.ruby-forum.com/t/microsoft-scripting-extensionattribute/151213 "2008-10-18T06:57:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![acampos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/919ad9/32.png) [@acampos](https://www.ruby-forum.com/u/acampos)\
**Post date:** [October 18, 2008, 6:57am UTC](https://www.ruby-forum.com/t/microsoft-scripting-extensionattribute/151213/1 "2008-10-18T06:57:13Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![acampos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/919ad9/32.png) [@acampos](https://www.ruby-forum.com/u/acampos)\
**Post date:** [October 18, 2008, 4:15pm UTC](https://www.ruby-forum.com/t/microsoft-scripting-extensionattribute/151213/2 "2008-10-18T16:15:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![acampos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/919ad9/32.png) [@acampos](https://www.ruby-forum.com/u/acampos)\
**Post date:** [October 18, 2008, 5:08pm UTC](https://www.ruby-forum.com/t/microsoft-scripting-extensionattribute/151213/3 "2008-10-18T17:08:24Z")

</div>

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

Regards,

Aaron
