DbfSharp.Core 0.2.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package DbfSharp.Core --version 0.2.2
                    
NuGet\Install-Package DbfSharp.Core -Version 0.2.2
                    
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="DbfSharp.Core" Version="0.2.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DbfSharp.Core" Version="0.2.2" />
                    
Directory.Packages.props
<PackageReference Include="DbfSharp.Core" />
                    
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 DbfSharp.Core --version 0.2.2
                    
#r "nuget: DbfSharp.Core, 0.2.2"
                    
#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.
#:package DbfSharp.Core@0.2.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DbfSharp.Core&version=0.2.2
                    
Install as a Cake Addin
#tool nuget:?package=DbfSharp.Core&version=0.2.2
                    
Install as a Cake Tool

DbfSharp

A high-performance .NET library and command-line tool for reading dBASE (DBF) files with support for all major DBF versions and memo files.

Features

  • Support for all major DBF versions (dBase III, IV, Visual FoxPro, etc.)
  • Optimized streaming and memory-efficient processing
  • Cross-platform support (Windows, Linux, macOS)
  • Both .NET library and command-line tool
  • Plugin architecture for custom field parsers

Quick Start

.NET Library

Refer to Core library for a more extensive documentation.

Installation
dotnet add package DbfSharp.Core
Usage
using DbfSharp.Core;

using var reader = DbfReader.Open("data.dbf");
foreach (var record in reader.Records)
{
    var name = record.GetValue<string>("NAME");
    var birthDate = record.GetValue<DateTime?>("BIRTHDATE");
    Console.WriteLine($"{name}, born {birthDate}");
}

Command-Line Tool

Refer to ConsoleAot for a more extensive documentation.

Installation
dotnet tool install -g DbfSharp
Usage
dotnet tool install -g DbfSharp

# read a DBF file, default output to console as a table
dbfsharp read data.dbf

# export to CSV
dbfsharp read data.dbf --format csv --output data.csv

# get file information
dbfsharp info data.dbf --verbose

Supported DBF Formats

  • dBase II, III, IV
  • FoxBase, FoxPro
  • Visual FoxPro
  • Memo files (.dbt, .fpt)
  • All standard field types (Character, Date, Numeric, Logical, Memo, etc.)
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.2.7 138 9/4/2025
0.2.6 136 9/4/2025
0.2.5 141 9/3/2025
0.2.4 132 8/18/2025
0.2.3 211 8/6/2025
0.2.2 156 8/4/2025
0.2.1 56 8/1/2025
0.2.0 80 8/1/2025
0.1.7 139 7/30/2025