According to my source Debugging a lamba expression with VS2015 , LINQ should work in the debugger viewport. However, I still get the following error:
bug CS1061: 'IEnumerable <MyClass>' does not contain a definition for “Where” and no extension method “Where” that takes the first argument of the type “IEnumerable <MyClass>"; (you did not specify a usage directive or assembly reference?)
Should I enable any option? How to enable LINQ in the viewport? System.Linq enabled through use in the file I'm currently debugging.
c # linq visual-studio visual-studio-2015 watch-window
DR
source share