<div dir="ltr">I have an issue with compiling extension methods. I&#39;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&#39;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 &#39;System.Runtime.CompilerServices.ExtensionAttribute..ctor&#39; <br><br>If it isn&#39;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>&nbsp;&nbsp;&nbsp; &lt;Reference Include=&quot;log4net, Version=<a href="http://1.2.10.0">1.2.10.0</a>, Culture=neutral, PublicKeyToken=1b44e1d426115821&quot; /&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;Reference Include=&quot;Microsoft.Scripting, Version=1.0.0.5000, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL&quot; /&gt;<br>&nbsp;&nbsp;&nbsp; &lt;Reference Include=&quot;Microsoft.Scripting.Core, Version=1.0.0.5000, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL&quot; /&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;Reference Include=&quot;IronPython, Version=2.0.0.5000, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL&quot; /&gt;<br>&nbsp;&nbsp;&nbsp; &lt;Reference Include=&quot;IronPython.Modules, Version=2.0.0.5000, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL&quot; /&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;Reference Include=&quot;System&quot; /&gt;<br>&nbsp;&nbsp;&nbsp; &lt;Reference Include=&quot;System.Core&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RequiredTargetFramework&gt;3.5&lt;/RequiredTargetFramework&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/Reference&gt;<br><br>thanks<br>
Ronnie<br><br><br></div>