Error when using extension methods in C#

后端 未结 16 2748
夕颜
夕颜 2020-12-13 01:31

I came across an issue that makes me think there is bug in the 3.0 framework. When I try to use extension methods I get the following error:

Missing compile         


        
16条回答
  •  温柔的废话
    2020-12-13 02:18

    Is this a web site project, by chance? Try changing the target framework from .NET 3.5 to an earlier version, and then back to .NET 3.5.

提交回复
热议问题