FlatFiles 4.14.0
See the version list below for details.
dotnet add package FlatFiles --version 4.14.0
NuGet\Install-Package FlatFiles -Version 4.14.0
<PackageReference Include="FlatFiles" Version="4.14.0" />
paket add FlatFiles --version 4.14.0
#r "nuget: FlatFiles, 4.14.0"
// Install FlatFiles as a Cake Addin #addin nuget:?package=FlatFiles&version=4.14.0 // Install FlatFiles as a Cake Tool #tool nuget:?package=FlatFiles&version=4.14.0
Reads and writes CSV, fixed-length and other flat file formats with a focus on schema definition, configuration and speed. Supports mapping directly between files and classes.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 is compatible. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.6 is compatible. netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net451 is compatible. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.0
- System.Data.Common (>= 4.3.0)
- System.Reflection.Emit (>= 4.6.0)
- System.Threading.Tasks.Extensions (>= 4.5.3)
- System.ValueTuple (>= 4.5.0)
-
.NETFramework 4.5.1
- System.Threading.Tasks.Extensions (>= 4.5.3)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 1.6
- NETStandard.Library (>= 1.6.1)
- System.Reflection.Emit (>= 4.3.0)
- System.Threading.Tasks.Extensions (>= 4.5.3)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.0
- System.Data.Common (>= 4.3.0)
- System.Reflection.Emit (>= 4.6.0)
- System.Threading.Tasks.Extensions (>= 4.5.3)
- System.ValueTuple (>= 4.5.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on FlatFiles:
Package | Downloads |
---|---|
FlatExcelHelper
Flat and Excel file helper to datatable |
|
FlatFiles.Mvc
Use FlatFiles to generate MVC ActionResults. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on FlatFiles:
Repository | Stars |
---|---|
leandromoh/RecordParser
Zero Allocation Writer/Reader Parser for .NET Core
|
Version | Downloads | Last updated |
---|---|---|
5.0.4 | 269,108 | 12/4/2022 |
5.0.3 | 20,188 | 10/3/2022 |
5.0.2 | 45,286 | 5/27/2022 |
5.0.1 | 154,800 | 2/24/2022 |
5.0.0 | 16,940 | 2/20/2022 |
4.16.0 | 119,589 | 6/27/2021 |
4.15.0 | 8,262 | 5/11/2021 |
4.14.0 | 1,234 | 5/2/2021 |
4.13.0 | 43,495 | 12/4/2020 |
4.12.0 | 10,137 | 10/22/2020 |
4.11.0 | 10,612 | 10/9/2020 |
4.10.0 | 1,548 | 10/7/2020 |
4.9.0 | 1,292 | 9/26/2020 |
4.8.0 | 3,113 | 9/17/2020 |
4.7.0 | 71,446 | 2/15/2020 |
4.6.0 | 51,043 | 6/4/2019 |
4.5.0 | 1,736 | 5/30/2019 |
4.4.0 | 14,109 | 5/25/2019 |
4.3.4 | 20,246 | 3/10/2019 |
4.3.3 | 26,653 | 10/15/2018 |
4.3.2 | 2,553 | 10/2/2018 |
4.3.1.1 | 1,855 | 9/25/2018 |
4.3.1 | 1,891 | 9/25/2018 |
4.3.0 | 7,839 | 7/17/2018 |
4.2.0 | 2,018 | 7/15/2018 |
4.1.0 | 2,056 | 7/15/2018 |
4.0.0 | 2,057 | 7/15/2018 |
3.0.1 | 2,115 | 7/8/2018 |
3.0.0 | 2,020 | 7/7/2018 |
3.0.0-rc | 1,831 | 7/5/2018 |
3.0.0-beta.7 | 1,136 | 7/4/2018 |
3.0.0-beta.6 | 1,043 | 7/2/2018 |
3.0.0-beta.5 | 1,119 | 7/1/2018 |
3.0.0-beta.4 | 1,127 | 7/1/2018 |
3.0.0-beta.3 | 1,134 | 7/1/2018 |
3.0.0-beta.2 | 1,112 | 6/30/2018 |
3.0.0-beta.1 | 1,043 | 6/30/2018 |
3.0.0-beta | 1,852 | 6/30/2018 |
2.1.3 | 2,448 | 6/17/2018 |
2.1.2 | 2,002 | 6/16/2018 |
2.1.1 | 2,894 | 6/11/2018 |
2.1.0 | 2,106 | 6/5/2018 |
2.0.0 | 2,055 | 6/5/2018 |
1.7.1 | 4,023 | 4/28/2018 |
1.7.0 | 2,052 | 4/27/2018 |
1.6.3 | 3,188 | 4/18/2018 |
1.6.2 | 15,642 | 11/27/2017 |
1.6.1 | 2,710 | 11/9/2017 |
1.6.0 | 2,104 | 11/6/2017 |
1.5.0 | 2,075 | 11/5/2017 |
1.4.0 | 2,007 | 11/2/2017 |
1.3.1 | 2,419 | 10/31/2017 |
1.3.0 | 2,060 | 10/30/2017 |
1.2.0 | 2,053 | 10/29/2017 |
1.1.1 | 2,047 | 10/28/2017 |
1.1.0 | 2,019 | 10/27/2017 |
1.0.1 | 2,077 | 10/27/2017 |
1.0.0 | 2,167 | 10/26/2017 |
0.3.26 | 2,068 | 10/26/2017 |
0.3.25 | 6,857 | 9/21/2017 |
0.3.23 | 24,314 | 5/25/2017 |
0.3.22 | 2,095 | 5/25/2017 |
0.3.21 | 2,071 | 5/25/2017 |
0.3.20 | 3,317 | 5/1/2017 |
0.3.19 | 8,166 | 7/21/2016 |
0.3.18 | 3,440 | 6/28/2016 |
0.3.17 | 2,093 | 6/28/2016 |
0.3.16 | 2,140 | 6/28/2016 |
0.3.15 | 8,481 | 6/20/2016 |
0.3.14 | 2,768 | 6/15/2016 |
0.3.13 | 2,704 | 6/15/2016 |
0.3.12 | 2,574 | 6/14/2016 |
0.3.11 | 2,658 | 6/13/2016 |
0.3.10 | 2,641 | 6/13/2016 |
0.3.9 | 2,600 | 6/13/2016 |
0.3.8 | 2,421 | 6/10/2016 |
0.3.7 | 2,449 | 6/10/2016 |
0.3.6 | 2,502 | 6/10/2016 |
0.3.5 | 2,444 | 6/10/2016 |
0.3.4 | 2,527 | 6/10/2016 |
0.3.3 | 2,544 | 6/10/2016 |
0.3.2 | 2,577 | 6/10/2016 |
0.3.1 | 2,618 | 6/10/2016 |
0.3.0 | 2,592 | 6/9/2016 |
0.2.1 | 2,343 | 6/9/2016 |
0.2.0 | 2,451 | 5/31/2016 |
0.1.17 | 2,435 | 5/12/2016 |
0.1.16 | 2,394 | 5/12/2016 |
0.1.15 | 2,633 | 5/10/2016 |
0.1.14 | 3,239 | 12/1/2015 |
0.1.13 | 4,732 | 8/20/2015 |
0.1.12 | 2,391 | 8/20/2015 |
0.1.10 | 3,141 | 1/16/2015 |
0.1.9 | 4,263 | 6/28/2014 |
0.1.8 | 2,544 | 2/11/2014 |
0.1.7 | 2,253 | 1/30/2014 |
0.1.6 | 2,240 | 1/30/2014 |
0.1.5 | 2,462 | 1/26/2014 |
0.1.4 | 2,285 | 1/25/2014 |
0.1.3 | 2,286 | 1/25/2014 |
0.1.2 | 2,262 | 1/25/2014 |
0.1.1 | 2,282 | 1/25/2014 |
0.1.0 | 2,365 | 1/24/2014 |
The behavior of TypedWriter.WriteAll is somewhat unintuitive when called with no records. The expectation is that the header/schema is written when performing this bulk operation; otherwise, the caller has to explicitly call WriteSchema explicitly beforehand. This slightly changes the behavior of the code, such that it might result in headers/schema being written in cases where the file was blank before. However, when IsFirstRecordSchema is true, it is extremely unlikely consumers would expect a blank file to be generated.
During my testing, I also discovered a bug where the schema was getting set, then unset when the header/schema record was the only record in the file. You should be able to try to read the first record of an empty file and get false back, then read the schema via GetSchema; however, my code would throwing an InvalidOperationException or, worse, a NullReferenceException.