Dapplo.Ini
2.0.13
Prefix Reserved
.NET 10.0
This package targets .NET 10.0. The package is compatible with this framework or higher.
.NET Framework 4.8
This package targets .NET Framework 4.8. The package is compatible with this framework or higher.
dotnet add package Dapplo.Ini --version 2.0.13
NuGet\Install-Package Dapplo.Ini -Version 2.0.13
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="Dapplo.Ini" Version="2.0.13" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Dapplo.Ini" Version="2.0.13" />
<PackageReference Include="Dapplo.Ini" />
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 Dapplo.Ini --version 2.0.13
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Dapplo.Ini, 2.0.13"
#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 Dapplo.Ini@2.0.13
#: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=Dapplo.Ini&version=2.0.13
#tool nuget:?package=Dapplo.Ini&version=2.0.13
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Dapplo.Ini
A source-generator–backed INI file configuration framework for .NET (net48, net10.0).
- Configuration sections are annotated interfaces; the classes are generated (package Dapplo.Ini.Generator)
- Layered loading: compiled defaults → defaults files → user file → admin constants → external value sources
- The user file keeps only what the user set; a changed default reaches every user
- In-place reload, file locking, file-change monitoring, transactions, validation (INotifyDataErrorInfo), INotifyPropertyChanged, lifecycle hooks, async loading, migrations, internationalization
Install
dotnet add package Dapplo.Ini
dotnet add package Dapplo.Ini.Generator
Quick start
[Description("Application settings")]
public interface IAppSettings : IIniSection
{
[DefaultValue("MyApp")]
string? AppName { get; set; }
[DefaultValue(8080)]
int Port { get; set; }
}
// AppSettingsImpl is generated
using var config = IniConfigRegistry
.ForFile("appsettings.ini")
.AddSearchPath(AppContext.BaseDirectory)
.RegisterSection<IAppSettings>(new AppSettingsImpl())
.Build();
var settings = config.GetSection<IAppSettings>();
settings.AppName = "MyApp v2";
config.Save();
Documentation
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
| .NET Framework | net48 is compatible. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.8
- System.Memory (>= 4.5.5)
-
net10.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Dapplo.Ini:
| Package | Downloads |
|---|---|
|
Dapplo.Addons.Config
Provide configuration services for addons |
|
|
Dapplo.Ini.WindowsPolicies
Configure any Dapplo.Ini application through Windows policies (Group Policy, Intune): registry policy value sources with change notification, .reg export and an ADMX/ADML administrative template generator. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Dapplo.Ini:
| Repository | Stars |
|---|---|
|
greenshot/greenshot
Greenshot for Windows - for more information look here:
|
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.13 | 107 | 11/10/2026 |
| 2.0.12 | 67 | 11/10/2026 |
| 2.0.9 | 73 | 11/10/2026 |
| 1.1.17 | 390 | 10/20/2026 |
| 1.1.15 | 647 | 10/20/2026 |
| 1.1.13 | 110 | 10/20/2026 |
| 1.1.11 | 527 | 10/9/2026 |
| 1.1.9 | 362 | 10/3/2026 |
| 1.1.6 | 239 | 9/30/2026 |
| 1.1.4 | 105 | 9/30/2026 |
| 1.0.162 | 458 | 9/8/2026 |
| 1.0.160 | 146 | 9/7/2026 |
| 1.0.153 | 348 | 4/20/2026 |
| 1.0.149 | 615 | 4/20/2026 |
| 1.0.145 | 141 | 4/18/2026 |
| 1.0.140 | 155 | 4/17/2026 |
| 1.0.136 | 160 | 4/13/2026 |
| 1.0.131 | 161 | 4/11/2026 |
| 1.0.128 | 158 | 4/10/2026 |
| 1.0.121 | 152 | 4/9/2026 |
Loading failed