Geeks With Blogs

News My Blog has been MOVED to
Michael Freidgeim's OLD Blog My Blog has been MOVED to

Last week I needed to find an object from collection with maximum value of the property and wrote the following

double maxHours = (from loc in locations select loc.TotalHours).Max();
var location = (from loc in locations where (loc.TotalHours == maxHours) select loc).FirstOrDefault();
but wasn’t happy and checked the internet.
The answer in  referred to
I’ve  downloaded the DLL and  tried to reference 'MoreLinq'  from signed DLL,but got Error    609    Assembly generation failed -- Referenced assembly 'MoreLinq' does not have a strong name.
The issue 30 Make the assembly strong named marked as fixed in 2010, but downloads are still old 2009

I decided to download  source code, but I do not have experience with SVN and instructions on  were confusing for me.
It seems that  In SVN “anonymously check out” has a meaning “Get Latest” in TFS/SourceSafe terms.
Fortunately I was able to install and created a batch to get source, which includes certificate key

@rem from
@rem Use this command to anonymously check out the latest project source code:
cd C:\Program Files\SlikSvn\bin
@rem # Non-members may check out a read-only working copy anonymously over HTTP.
svn checkout C:\MoreLinq\Src

Posted on Saturday, September 3, 2011 7:31 PM LINQ | Back to top

Comments on this post: Include MoreLinq Library for LINQ extensions

# re: Include MoreLinq Library for LINQ extensions
Requesting Gravatar...
NuGet works fine...
Left by Josh on Nov 13, 2011 12:26 PM

Your comment:
 (will show your gravatar)

Copyright © Michael Freidgeim | Powered by: