I am following all steps from this Microsoft blog but I am facing some errors

  • <EmployeesItem> this is an unknows command.
  • where emp.Project.DueDateis not working

I have the following code:

enter image description here

  • 1
    Have you added reference to Linq? – Gaurravs Jun 6 '16 at 9:34
  • Yes I have added – Nderon Hyseni Jun 6 '16 at 9:39
  • What is the error when compiling code? – Goshky Jun 6 '16 at 11:34

it is due to dll version, check the version compatability,if the version mismatch it will not compile

  • One thing I noticed was his SPLinq.cs was 58kb mine was only 28kb is this the problem? – Nderon Hyseni Jun 6 '16 at 9:40
  • Check the dll version of linq, are you using .net framework 4 or 4.5, this has the problem – Shiva Jun 6 '16 at 9:48
  • .net framework 4 – Nderon Hyseni Jun 6 '16 at 9:57
  • You need to get the compatible version of the linq dll, your current version will not be useful – Shiva Jun 6 '16 at 10:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.