Error when using extension methods in C#

后端 未结 16 2775
夕颜
夕颜 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:02

    Just target your VS project to .NET framework 3.5 and above. Most probably you converted your project from a previous version.

提交回复
热议问题