SmartFormat.NET 3.0.0-rc.2

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
This is a prerelease version of SmartFormat.NET.
There is a newer version of this package available.
See the version list below for details.
dotnet add package SmartFormat.NET --version 3.0.0-rc.2
NuGet\Install-Package SmartFormat.NET -Version 3.0.0-rc.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="SmartFormat.NET" Version="3.0.0-rc.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SmartFormat.NET --version 3.0.0-rc.2
#r "nuget: SmartFormat.NET, 3.0.0-rc.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.
// Install SmartFormat.NET as a Cake Addin
#addin nuget:?package=SmartFormat.NET&version=3.0.0-rc.2&prerelease

// Install SmartFormat.NET as a Cake Tool
#tool nuget:?package=SmartFormat.NET&version=3.0.0-rc.2&prerelease

SmartFormat Version 3.0.0-rc.2

See the list of changes in version/v3 compared to v2.7.x and give it a try.

License: MIT AppVeyor build status windows AppVeyor build status linux

AppVeyor tests codecov


SmartFormat is a lightweight text templating library written in C#. It can format various data sources into a string with a minimal, intuitive syntax similar to string.Format. SmartFormat uses extensions to provide named placeholders, localization, pluralization, gender conjugation, and list and time formatting.

  • High performance with low memory footprint
  • Exact control of whitespace text output
  • string.Format compatibility mode and Smart.Format enhanced mode
  • Minimal, intuitive syntax
  • Many built-in extensions, custom extensions are easy to integrate

Supported Frameworks

  • .Net Framework 4.6.1 and later
  • .Net Standard 2.0
  • .Net Standard 2.1 and later for best optimizations
Product 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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 is compatible.  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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (58)

Showing the top 5 NuGet packages that depend on SmartFormat.NET:

Package Downloads

The C# SDK for the Messaging Hub


Elephant storage library


Elephant storage library


BLiP C# client


Package Description

GitHub repositories (12)

Showing the top 5 popular GitHub repositories that depend on SmartFormat.NET:

Repository Stars
Windows tray utility / filesystem watcher / launcher for Syncthing
A lightweight text templating library written in C# which can be a drop-in replacement for string.Format
A simple recipe for .NET Core microservices.
DSLR camera remote control open source software
LocalizationExtension is a the easy way to localize any type of DependencyProperties or native Properties on DependencyObjects
Version Downloads Last updated
3.4.0 12,110 5/15/2024
3.3.2 128,516 1/29/2024
3.3.1 25,843 1/14/2024
3.3.0 141,105 9/25/2023
3.2.2 68,259 8/3/2023
3.2.1 344,057 2/19/2023
3.2.0 353,891 9/18/2022
3.1.0 384,975 5/17/2022
3.0.0 182,427 3/14/2022
3.0.0-rc.2 2,862 2/15/2022
3.0.0-rc.1 1,855 2/1/2022
3.0.0-alpha.5 1,159 12/3/2021
3.0.0-alpha.4 1,799 10/25/2021
3.0.0-alpha.3 1,020 9/20/2021
3.0.0-alpha.2 731 9/5/2021
3.0.0-alpha.1 2,915 8/29/2021
2.7.3 304,739 6/28/2022
2.7.2 320,167 12/26/2021
2.7.1 296,511 10/21/2021
2.7.0 1,282,887 4/10/2021
2.6.2 348,190 2/17/2021
2.6.1 9,949 2/12/2021
2.5.3 958,742 11/10/2020
2.5.3-preview1 4,342 11/2/2020
2.5.2 367,655 6/16/2020
2.5.1 16,692 6/9/2020
2.5.0 786,187 11/2/2019
2.4.2 1,188,792 2/9/2019
2.4.1 52,555 1/5/2019
2.4.0 26,952 1/4/2019 165,940 11/15/2018
2.3.0 765,993 6/13/2018
2.2.0 149,016 2/17/2018 1,038,337 8/15/2017 562,059 6/27/2017
2.0.0 420,394 12/4/2016 16,249 11/28/2016
1.6.1 137,217 3/4/2015
1.6.0 5,688 3/4/2015
1.5.0 5,622 2/12/2015
1.4.0 4,197 2/12/2015
1.3.0 4,144 2/12/2015
1.2.0 8,604 2/7/2015
1.1.0 33,557 2/20/2014
1.0.0 22,351 5/15/2013

See the change log for details of this release:
           Give it a try.