Mono.Cecil, Missing compiler required member 'System.Runtime.CompilerServices.ExtensionAttribute..ctor'

前端 未结 3 1709
太阳男子
太阳男子 2021-01-20 02:50

I downloaded the latest Mono.Cecil and now whenever I start up my project it gives me that error. It goes away if I remove and add mono.cecil. But that is a pain to do every

3条回答
  •  独厮守ぢ
    2021-01-20 03:18

    I fixed this error by removing the reference to "Mono.Cecil.dl" and "Mono.Reflection.dll" from my project.

    These two files come with db4o v8.0 (an object database) and don't appear to be needed for db4o to operate in its basic, non-optimized mode under Windows 7 x64 + .NET 4.0.

提交回复
热议问题