Where is System.Linq in .NET 4.0?

前端 未结 3 2056
萌比男神i
萌比男神i 2021-02-19 02:34

I migrated an asp.net app to 4.0. Now I am getting an error \"The type or namespace name \'IQueryable\' could not be found\". The reference to System.Linq is invalid and I can\'

3条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-19 03:14

    Make sure you have a reference to System.Core.dll in your project - I believe System.Linq resides there.

提交回复
热议问题