Reputation: 17298
How can I use dynamic LINQ in Visual Studio 2008?
I'm trying to use
using System.linq.Dynamic
but there is no intellisense. How can I use it?
Upvotes: 4
Views: 2691
Reputation: 1260
I was also struggling with this and this is how I got it work:
Upvotes: 0
Reputation: 46879
You should find the answer in here:
How do I build up LINQ dynamically
Upvotes: 0
Reputation: 1064114
Well, I'll first say that dynamic LINQ is usually overkill, but sometimes useful. But you should just be able to reference the dll and away you go. If no intellisense is appearing, but it compiles, then check where (physically) the dynamic linq dll is located. Ensure the "foo.dll.xml" file is located next to "foo.dll" (where "foo" is the assembly - perhaps System.Linq.Dynamic
?). This is key for intellisense when using assembly references.
Upvotes: 3