Bonjour Simon, On Tue, Sep 14, 2010 at 7:46 AM, Simon Cropp <[email protected]> wrote: > Turns out that this was caused by the hack/workaround you do to use > extension methods in a .net 2 project. > http://github.com/jbevain/cecil/blob/master/System.Runtime.CompilerServices/ExtensionAttribute.cs > > For me to get around this I had to re-compile cecil against .net 4 and > remove ExtensionAttribute.cs
That works. But otherwise, depending on the framework you're targeting, you can simply define NET_3_5 or NET_4_0. -- Jb EvainĀ <[email protected]> -- -- mono-cecil
