<div dir="ltr">I have an issue with compiling extension methods. I've read the <a href="http://devhawk.net/2008/09/17/DLR+Namespace+Change+Fire+Drill.aspx" target="_blank">blog </a>on this, but can't get it to work.<br>
<br>The symptom is that when I have an extension method in my project, I get the following error:<br>
Missing compiler required member 'System.Runtime.CompilerServices.ExtensionAttribute..ctor' <br><br>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<br>
some things that might be relevant:<br><br>my project targets .NET 3.5<br> <br>my references from proj file:<br> <Reference Include="log4net, Version=<a href="http://1.2.10.0">1.2.10.0</a>, Culture=neutral, PublicKeyToken=1b44e1d426115821" /><br>
<Reference Include="Microsoft.Scripting, Version=1.0.0.5000, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /><br> <Reference Include="Microsoft.Scripting.Core, Version=1.0.0.5000, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /><br>
<Reference Include="IronPython, Version=2.0.0.5000, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /><br> <Reference Include="IronPython.Modules, Version=2.0.0.5000, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /><br>
<Reference Include="System" /><br> <Reference Include="System.Core"><br> <RequiredTargetFramework>3.5</RequiredTargetFramework><br> </Reference><br><br>thanks<br>
Ronnie<br><br><br></div>