What is the latest production-ready version of the FileHelpers .NET library and where is it?
Asked Answered
H

2

11

The SourceForge page - www.filehelpers.net - was last updated in 2007, and no downloads are available.

The Github repo - github.com/MarcosMeli/FileHelpers - looks recent but the last tagged release is 2.1

There is a NuGet package - www.nuget.org/packages/FileHelpers-Stable - but it is two years old and furthermore does not belong to the main developer, Marcos Meli. There is a competing NuGet package - www.nuget.org/packages/FileHelpers - tagged as 2.0.0 and owned by Marcos Meli, but that code is 6 years old.

There are TeamCity builds available. There is a successful development build tagged as 2.9.16.

Which of the above should I use for a production ready project? Or is the latest production-ready version somewhere else?

EDIT

I cloned from github master, but it didn't build - riddled with errors. I went through and set the .NET version to 4.5 on all subprojects and fixed a few imports and got the wizard to run, but there were still a couple of dozen warnings. So Github head is obviously not the production-ready version.

EDIT 2

Now the version 3.1 is production ready, and the GitHub repository is up to date and using CI for continuos buils Download latest version from www.filehelpers.net

Helse answered 9/11, 2013 at 20:56 Comment(1)
It looks like something's happening with Filehelpers - there were commits to the Github repo as recently as June 15 2014. I was able to clone, then build and run the wizard without any hitches.Ellary
N
4

The latest production ready version of the library is 3.1.2

You can download it on

New Home Page:

FileHelpers Home Page

Nonconformist answered 3/8, 2015 at 2:31 Comment(1)
Cool. I'm no longer doing .NET development, but I'll pass this on to the developers who took over my project. Thanks so much for your work - you saved me a heck of a lot of time and bother.Helse
H
3

On NuGet there are two versions: 2.0.0.0 and 2.9.9.

The 2.0.0.0 version was developed between 2005 and 2007 and has plenty of documentation here.

The 2.9.9 version is more recent and includes some new features (e.g., the FieldOrder attribute - see here) and some breaking changes (e.g., the AfterReadRecord and BeforeReadRecord events have changed signature to use generics). Development seems to have stalled sometime in 2012.

Both of these are stable and we use them in different production enterprise applications with no problems.

According to Marcos's answer here, the latest version is here: http://filehelpers.svn.sourceforge.net/. However that answer is over a year old.

Heal answered 12/11, 2013 at 9:48 Comment(3)
A note: when I need to see the source code, I tend to use .NET reflector with the 2.9.9 binaries.Heal
I went ahead and used the 2.9.9 version from NuGet. Worked great. There was a change in the annotations for skipping/unavailable fields in fixed length. The brilliant part is that I can add field conversions/calculations as getter properties and then throw the whole thing at Massive as a an IEnumerable of POCOs.Helse
Marcos Meli is actively developing FileHelpers again! See his answer to this same question.Heal

© 2022 - 2024 — McMap. All rights reserved.