[IronPython] problem compiling extension methods on IPy2b5

Ronnie Maor ronnie.maor at gmail.com
Tue Sep 23 17:30:53 CEST 2008


I have an issue with compiling extension methods. I've read the blog
<http://devhawk.net/2008/09/17/DLR+Namespace+Change+Fire+Drill.aspx>on this,
but can't get it to work.

The symptom is that when I have an extension method in my project, I get the
following error:
Missing compiler required member
'System.Runtime.CompilerServices.ExtensionAttribute..ctor'

If it isn't a trivial mistake with an obvious solution, then let me know
what other information I should give to help diagnose this
some things that might be relevant:

my project targets .NET 3.5

my references from proj file:
    <Reference Include="log4net, Version=1.2.10.0, Culture=neutral,
PublicKeyToken=1b44e1d426115821" />
    <Reference Include="Microsoft.Scripting, Version=1.0.0.5000,
Culture=neutral, PublicKeyToken=31bf3856ad364e35,
processorArchitecture=MSIL" />
    <Reference Include="Microsoft.Scripting.Core, Version=1.0.0.5000,
Culture=neutral, PublicKeyToken=31bf3856ad364e35,
processorArchitecture=MSIL" />
    <Reference Include="IronPython, Version=2.0.0.5000, Culture=neutral,
PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
    <Reference Include="IronPython.Modules, Version=2.0.0.5000,
Culture=neutral, PublicKeyToken=31bf3856ad364e35,
processorArchitecture=MSIL" />
    <Reference Include="System" />
    <Reference Include="System.Core">
      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    </Reference>

thanks
Ronnie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20080923/c06f206e/attachment.html>


More information about the Ironpython-users mailing list