41

I am looking all over for this dll but can't find it anywhere? anyone know where to get it and can help me? Thanks!

3 Answers 3

41

Now it's available via NuGet gallery too.

4
  • 1
    Beware, the description on this NuGet package is misleading. It does state 'This is the Microsoft assembly', but the package owner is not Microsoft. It really does not look like being officialy released by Microsoft.
    – Frédéric
    Feb 19, 2014 at 16:02
  • Microsoft never actually released dll, it was only published as code. But if you're suspicious, you can always decompile it.
    – Andriy K
    Feb 20, 2014 at 12:37
  • @AndriyK I think that is a dangerous attitude. If the authors are malicious, they can later release an update with malware in the code. Even if the current version is clean, you are essentially choosing to trust the authors for as long as you use the library the lifetime of your project (and perhaps you even spread this trust to other projects!). In the end, there is a big difference between trusting Microsoft and some strangers on the internet that act in their name.
    – Zero3
    Jan 13, 2017 at 16:47
  • Same can be said about almost any nuget dependency you use. It's always matter of trust. On the other hand, if there are security issues with library that has roughly 400 downloads daily, you won't be only person to mention it, and it will be removed way before your updated code reaches production.
    – Andriy K
    Jan 13, 2017 at 22:48
36

You can get it from this link . It's a zip file that contains the dynamic link source. It's not a dll.

Originally posted on ScottGu's blog here

9
  • ok thanks. what do I need to reference in my app to use it then?
    – twal
    Oct 21, 2010 at 19:28
  • 10
    Just add the Dynamic.cs file to your project. It defines the namespace System.Linq.Dynamic. In your code place: using System.Linq.Dynamic; at the top of the file.
    – Geoff
    Oct 21, 2010 at 19:34
  • I was wondering if anyone can explain why I can use OrderBy("someColumn") with this library but there is no definition for OrderByDescending("someColumn")? How would I order the elements in descending order when using Dynamic Library?
    – Marko
    Mar 13, 2012 at 14:15
  • Is it possible that all I can do is OrderBy("someColumn").Reverse()? Seems like a hack to me...
    – Marko
    Mar 13, 2012 at 14:36
  • 2
    @Marko I don't know if it is any less of a hack, but the way you do it is OrderBy("someColumn desc")
    – Geoff
    Mar 13, 2012 at 15:45
7

Source file and .dll

GitHub

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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