CsvHelper 2.0.0-beta1

Prefix Reserved
This is a prerelease version of CsvHelper.
There is a newer version of this package available.
See the version list below for details.
dotnet add package CsvHelper --version 2.0.0-beta1
                    
NuGet\Install-Package CsvHelper -Version 2.0.0-beta1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CsvHelper" Version="2.0.0-beta1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CsvHelper" Version="2.0.0-beta1" />
                    
Directory.Packages.props
<PackageReference Include="CsvHelper" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CsvHelper --version 2.0.0-beta1
                    
#r "nuget: CsvHelper, 2.0.0-beta1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=CsvHelper&version=2.0.0-beta1&prerelease
                    
Install CsvHelper as a Cake Addin
#tool nuget:?package=CsvHelper&version=2.0.0-beta1&prerelease
                    
Install CsvHelper as a Cake Tool

A library for reading and writing CSV files. Extremely fast, flexible, and easy to use. Supports reading and writing of custom class objects.

Product Compatible and additional computed target framework versions.
.NET Framework net20 is compatible.  net35 was computed.  net35-client is compatible.  net40 was computed.  net40-client is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  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. 
Silverlight sl4 is compatible.  sl5 is compatible. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Windows Store netcore was computed.  netcore45 is compatible.  netcore451 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (929)

Showing the top 5 NuGet packages that depend on CsvHelper:

Package Downloads
InfluxDB.Client.Core

InfluxDB Client Core - exceptions, validations, REST client.

CsvHelper.Excel.Core

An implementation of ICsvParser and ICsvSerializer from CsvHelper that reads and writes using the ClosedXml library.

SpecFlow.Allure

Generates Allure report result files for SpecFlow test run

FenixAlliance.ACL.Dependencies

Application Component for the Alliance Business Suite.

Casbin.NET

Casbin.NET is a powerful and efficient open-source access control library for .NET (C#) projects. It provides support for enforcing authorization based on various access control models.

GitHub repositories (170)

Showing the top 5 popular GitHub repositories that depend on CsvHelper:

Repository Stars
QL-Win/QuickLook
Bring macOS “Quick Look” feature to Windows
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
QuantConnect/Lean
Lean Algorithmic Trading Engine by QuantConnect (Python, C#)
gui-cs/Terminal.Gui
Cross Platform Terminal UI toolkit for .NET
restsharp/RestSharp
Simple REST and HTTP API Client for .NET
Version Downloads Last updated
33.0.1 23,843,515 6/20/2024
33.0.0 439,036 6/17/2024
32.0.3 5,104,116 5/13/2024
32.0.2 463,897 5/7/2024
32.0.1 997,161 4/26/2024
32.0.0 106,875 4/25/2024
31.0.4 1,635,899 4/17/2024
31.0.3 1,927,162 4/3/2024
31.0.2 5,634,734 2/29/2024
31.0.1 82,390 2/29/2024
31.0.0 2,894,931 2/9/2024
30.1.0 2,143,877 1/26/2024
30.0.3 729,641 1/23/2024
30.0.1 56,001,836 11/11/2022
30.0.0 3,251,388 10/30/2022
29.0.0 3,795,394 10/6/2022
28.0.1 10,893,138 7/14/2022
28.0.0 851,919 7/8/2022
27.2.1 33,377,497 11/23/2021
27.2.0 642,704 11/15/2021
27.1.1 16,008,598 6/23/2021
27.1.0 3,961,261 5/26/2021
27.0.4 785,084 5/18/2021
27.0.3 127,147 5/17/2021
27.0.2 2,033,445 4/28/2021
27.0.1 589,321 4/22/2021
27.0.0 903,324 4/21/2021
26.1.0 2,983,699 3/23/2021
26.0.1 1,952,118 3/4/2021
26.0.0 193,547 3/3/2021
25.0.0 806,210 2/24/2021
24.0.1 454,379 2/20/2021
24.0.0 21,903 2/19/2021
23.0.0 518,495 2/12/2021
22.1.2 731,269 2/4/2021
22.1.1 432,006 2/2/2021
22.1.0 140,634 1/30/2021
22.0.0 15,963 1/30/2021
21.3.1 74,153 1/29/2021
21.3.0 152,801 1/27/2021
21.2.1 179,777 1/25/2021
21.2.0 115,382 1/24/2021
21.1.2 6,331 1/24/2021
21.1.1 10,815 1/23/2021
21.1.0 272,988 1/21/2021
21.0.6 97,657 1/20/2021
21.0.5 20,241 1/20/2021
21.0.5-beta0001 2,932 1/20/2021
21.0.4 73,432 1/19/2021
21.0.3 37,409 1/19/2021
21.0.1 10,755 1/18/2021
21.0.0 10,434 1/18/2021
20.0.0 74,967 1/17/2021
20.0.0-beta0021 2,868 1/14/2021
20.0.0-beta0020 2,927 1/13/2021
20.0.0-beta0019 2,845 1/8/2021
20.0.0-beta0017 2,572 1/7/2021
20.0.0-beta0001 2,620 1/6/2021
19.0.0 3,717,941 12/27/2020
19.0.0-beta0002 2,741 12/26/2020
19.0.0-beta0001 4,240 12/22/2020
19.0.0-beta.2 620 12/26/2020
18.0.0 2,686,541 12/4/2020
17.0.1 563,202 12/1/2020
17.0.0 160,915 11/29/2020
16.2.0 659,483 11/25/2020
16.1.0 628,183 11/20/2020
16.0.0 1,766,959 11/13/2020
15.0.10 2,354,184 11/10/2020
15.0.9 989,507 11/3/2020
15.0.8 3,367,910 10/14/2020
15.0.7 204,716 10/13/2020
15.0.6 1,860,232 9/25/2020
15.0.5 24,749,671 4/17/2020
15.0.4 1,855,132 4/3/2020
15.0.3 894,572 3/24/2020
15.0.2 403,370 3/20/2020
15.0.1 1,655,238 3/4/2020
15.0.0 2,550,711 2/4/2020
14.0.0 467,632 1/30/2020
14.0.0-beta001 4,510 1/29/2020
13.0.0 1,560,823 1/16/2020
12.3.2 2,629,430 1/10/2020
12.3.1 70,385 1/9/2020
12.3.0 156,725 1/9/2020
12.2.3 2,158,743 12/30/2019
12.2.2 2,149,158 12/6/2019
12.2.1 2,816,043 11/5/2019
12.2.0 55,313 11/5/2019
12.1.3 635,987 10/28/2019
12.1.2 20,119,886 1/28/2019
12.1.1 1,957,683 1/3/2019
12.1.0 716,408 12/13/2018
12.0.1 530,033 12/5/2018
12.0.0 532,435 12/5/2018
11.0.1 108,485 12/4/2018
11.0.0 57,556 12/4/2018
10.0.0 125,954 12/4/2018
10.0.0-beta02 8,341 11/23/2018
10.0.0-beta01 9,712 11/21/2018
9.2.3 941,654 11/21/2018
9.2.2 18,658 11/20/2018
9.2.1 21,608 11/20/2018
9.2.0 18,473 11/20/2018
9.1.0 185,911 11/13/2018
9.0.2 74,204 11/12/2018
9.0.1 11,954 11/12/2018
9.0.0 300,332 11/11/2018
8.1.1 43,407 11/6/2018
8.1.0 28,850 11/6/2018
8.0.0 55,433 11/6/2018
8.0.0-beta01 128,418 7/12/2018
7.1.1 7,884,342 6/8/2018
7.1.0 3,109,817 3/15/2018
7.0.1 654,243 2/23/2018
7.0.0 241,692 2/21/2018
6.1.1 1,158,018 1/19/2018
6.1.0 492,983 12/15/2017
6.0.3 102,411 12/13/2017
6.0.2 50,874 12/8/2017
6.0.0 848,568 11/8/2017
5.0.0.1 216,854 11/1/2017
4.0.3 117,444 10/25/2017
4.0.2 87,868 10/19/2017
4.0.1 21,593 10/19/2017
3.2.0 179,312 10/11/2017
3.1.1 16,993 10/10/2017
3.1.0 34,040 10/10/2017
3.0.0 100,473 10/9/2017
3.0.0-RC05 5,532 10/4/2017
3.0.0-RC04 6,754 9/26/2017
3.0.0-RC03 3,920 9/25/2017
3.0.0-RC02 3,640 9/19/2017
3.0.0-RC01 7,137 9/7/2017
3.0.0-chi08 9,883 9/6/2017
3.0.0-chi07 7,188 9/2/2017
3.0.0-chi06 19,013 7/4/2017
3.0.0-chi05 16,247 6/6/2017
3.0.0-chi04 6,151 5/31/2017
3.0.0-chi03 20,559 5/25/2017
3.0.0-chi02 16,992 4/23/2017
3.0.0-chi01 5,204 4/21/2017
3.0.0-beta8 9,596 3/30/2017
3.0.0-beta7 442,949 10/4/2016
3.0.0-beta6 22,813 9/9/2016
3.0.0-beta5 12,906 9/6/2016
3.0.0-beta4 5,972 9/2/2016
3.0.0-beta3 5,988 8/30/2016
3.0.0-beta2 8,548 8/26/2016
3.0.0-beta10 5,626 4/7/2017
3.0.0-beta1 5,680 8/25/2016
2.16.3 13,670,359 9/9/2016
2.16.2 43,863 9/7/2016
2.16.1 121,798 8/31/2016
2.16.0 1,527,234 7/14/2016
2.15.0.2 382,012 7/2/2016
2.15.0.1 51,030 6/28/2016
2.15.0 366,501 6/9/2016
2.14.3 381,971 6/8/2016
2.14.2 510,930 4/27/2016
2.14.1 87,948 4/20/2016
2.14.0 34,468 4/17/2016
2.13.5 2,865,252 11/29/2015
2.13.4 9,820 11/29/2015
2.13.3 8,930 11/28/2015
2.13.2 1,600,957 6/27/2015
2.13.1 233,395 6/9/2015
2.13.0 432,535 4/17/2015
2.12.0.2 44,448 4/15/2015
2.12.0.1 9,075 4/14/2015
2.12.0 20,899 4/11/2015
2.11.1.1 166,788 3/5/2015
2.11.0 304,106 2/17/2015
2.10.0 294,002 12/8/2014
2.9.1 86,679 12/8/2014
2.9.0 6,573 12/8/2014
2.8.4 306,096 11/14/2014
2.8.3 18,003 11/11/2014
2.8.2 215,148 10/14/2014
2.8.1 9,995 10/10/2014
2.8.0 29,814 10/2/2014
2.7.1 229,165 8/30/2014
2.7.0 338,970 6/19/2014
2.6.1 51,492 6/5/2014
2.6.0 43,529 5/14/2014
2.5.0 225,134 3/7/2014
2.4.1 111,870 2/11/2014
2.4.0 247,577 1/25/2014
2.3.0 163,287 12/17/2013
2.2.2 679,636 7/10/2013
2.2.1 12,060 7/4/2013
2.2.0 49,152 7/2/2013
2.1.1 26,638 6/21/2013
2.1.0 10,689 6/19/2013
2.0.1 8,031 6/14/2013
2.0.0 188,853 6/13/2013
2.0.0-beta2 5,749 6/7/2013
2.0.0-beta1 7,287 4/24/2013
1.17.0 150,516 3/13/2013
1.16.0 14,275 3/9/2013
1.15.0 11,907 3/3/2013
1.14.0 31,043 1/25/2013
1.13.0 41,524 12/18/2012
1.12.1 14,498 11/13/2012
1.12.0 7,670 11/10/2012
1.11.0 6,423 11/10/2012
1.10.0 10,819 11/3/2012
1.9.2 8,861 10/24/2012
1.9.1 6,294 10/24/2012
1.9.0 6,884 10/21/2012
1.8.0 15,237 9/15/2012
1.7.0 14,412 8/15/2012
1.6.0 7,198 8/2/2012
1.5.0 16,235 7/13/2012
1.4.0 37,101 4/13/2012
1.3.0 10,534 3/11/2012
1.2.0 31,696 2/10/2012
1.1.2 7,550 1/11/2012
1.1.1 6,690 1/7/2012
1.1.0 17,828 10/11/2011
1.0.0 7,680 9/10/2011
0.16.0 6,793 9/7/2011
0.15.0 6,942 7/9/2011
0.14.0 6,351 7/6/2011
0.13.0 9,118 2/15/2011
0.12.0 172,566 2/1/2011

Added Features:
-References mapping works for whole mapping tree, not just a single level.
-Auto mapping by property name is used if no map is specified.
-Multiple maps can be used for a configuration.
-Exceptions are no longer wrapped. More details are now available in Exception.Data["CsvHelper"].
-Config option for reading and writing from properties that have private get and set accessors.
-Configuration.CultureInfo settings instead of Configuration.UseInvariantCulture
-CsvConfigurationException if no mappings are found.
-Removed attribute mapping.
Bugs Fixed:
-Parser can read data with \0 in them.