Microsoft.identitymodel.claims.claimsidentitycollection doesnot contain a definition for "first" RRS feed

  • Question

  • I am getting the problem mentioned in subject :  Microsoft.identitymodel.claims.claimsidentitycollection doesnot contain a definition for "first"and no extension method "First" accepting an argument  of type Microsoft.identitymodel.claims.claimsidentitycollection could be found

    Here is my line in my code which is throwing error:

    var identity = handlers.validatetoken(token).first();

    Sunday, March 29, 2015 10:49 AM