Cannot define class or member that utilizes dynamic because the compiler required type

前端 未结 3 2173
礼貌的吻别
礼貌的吻别 2021-02-20 11:47

I\'m using Facebook SDK C# Library in Asp.Net 3.5 Application. When I\'m trying to compile the code below give me the errors. As I know dynamic type using in 4.0 framework. So i

3条回答
  •  生来不讨喜
    2021-02-20 12:03

    dynamic is available in C# 4.0.

    You have to convert your application to 4.0 version Change the referenced assemblies(System.Core) to 4.0 version.

提交回复
热议问题