Microsoft.Extensions.Configuration 2.0.0-preview2-final

Prefix Reserved
Additional Details

This package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217

This is a prerelease version of Microsoft.Extensions.Configuration.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.Extensions.Configuration --version 2.0.0-preview2-final                
NuGet\Install-Package Microsoft.Extensions.Configuration -Version 2.0.0-preview2-final                
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="Microsoft.Extensions.Configuration" Version="2.0.0-preview2-final" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Extensions.Configuration --version 2.0.0-preview2-final                
#r "nuget: Microsoft.Extensions.Configuration, 2.0.0-preview2-final"                
#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 Microsoft.Extensions.Configuration as a Cake Addin
#addin nuget:?package=Microsoft.Extensions.Configuration&version=2.0.0-preview2-final&prerelease

// Install Microsoft.Extensions.Configuration as a Cake Tool
#tool nuget:?package=Microsoft.Extensions.Configuration&version=2.0.0-preview2-final&prerelease                

Implementation of key-value pair based configuration for Microsoft.Extensions.Configuration. Includes the memory configuration provider.

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.  net9.0 was computed.  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. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.1 is compatible.  netstandard1.2 was computed.  netstandard1.3 was computed.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 was computed.  netstandard2.1 was computed. 
.NET Framework 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. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Windows Phone wpa81 was computed. 
Windows Store netcore was computed.  netcore45 was computed.  netcore451 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 (6.4K)

Showing the top 5 NuGet packages that depend on Microsoft.Extensions.Configuration:

Package Downloads
Microsoft.Extensions.Configuration.FileExtensions

Provides a base class for file-based configuration providers used with Microsoft.Extensions.Configuration and extension methods for configuring them.

Microsoft.Extensions.Configuration.Json

JSON configuration provider implementation for Microsoft.Extensions.Configuration. This package enables you to read your application's settings from a JSON file. You can use JsonConfigurationExtensions.AddJsonFile extension method on IConfigurationBuilder to add the JSON configuration provider to the configuration builder.

Microsoft.Extensions.Configuration.EnvironmentVariables

Environment variables configuration provider implementation for Microsoft.Extensions.Configuration. This package enables you to read configuration parameters from environment variables. You can use EnvironmentVariablesExtensions.AddEnvironmentVariables extension method on IConfigurationBuilder to add the environment variables configuration provider to the configuration builder.

Microsoft.Extensions.Logging.Configuration

Configuration support for Microsoft.Extensions.Logging.

Microsoft.Extensions.Configuration.CommandLine

Command line configuration provider implementation for Microsoft.Extensions.Configuration. This package enables you to read configuration parameters from the command line arguments of your application. You can use CommandLineConfigurationExtensions.AddCommandLine extension method on IConfigurationBuilder to add the command line configuration provider to the configuration builder.

GitHub repositories (571)

Showing the top 5 popular GitHub repositories that depend on Microsoft.Extensions.Configuration:

Repository Stars
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
icsharpcode/ILSpy
.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
ardalis/CleanArchitecture
Clean Architecture Solution Template: A proven Clean Architecture Template for ASP.NET Core 9
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
Version Downloads Last updated
10.0.0-preview.2.25163.2 8,198 3/18/2025
10.0.0-preview.1.25080.5 23,983 2/25/2025
9.0.3 1,786,163 3/11/2025
9.0.2 5,139,104 2/11/2025
9.0.1 6,668,845 1/14/2025
9.0.0 22,739,486 11/12/2024
9.0.0-rc.2.24473.5 332,131 10/8/2024
9.0.0-rc.1.24431.7 263,869 9/10/2024
9.0.0-preview.7.24405.7 122,737 8/13/2024
9.0.0-preview.6.24327.7 198,083 7/9/2024
9.0.0-preview.5.24306.7 131,845 6/11/2024
9.0.0-preview.4.24266.19 116,465 5/21/2024
9.0.0-preview.3.24172.9 210,250 4/11/2024
9.0.0-preview.2.24128.5 117,684 3/12/2024
9.0.0-preview.1.24080.9 136,807 2/13/2024
8.0.0 246,669,845 11/14/2023
8.0.0-rc.2.23479.6 761,854 10/10/2023
8.0.0-rc.1.23419.4 559,195 9/12/2023
8.0.0-preview.7.23375.6 274,371 8/8/2023
8.0.0-preview.6.23329.7 194,309 7/11/2023
8.0.0-preview.5.23280.8 187,059 6/13/2023
8.0.0-preview.4.23259.5 364,132 5/16/2023
8.0.0-preview.3.23174.8 271,414 4/11/2023
8.0.0-preview.2.23128.3 226,191 3/14/2023
8.0.0-preview.1.23110.8 163,213 2/21/2023
7.0.0 161,609,032 11/7/2022
7.0.0-rc.2.22472.3 320,513 10/11/2022
7.0.0-rc.1.22426.10 263,343 9/14/2022
7.0.0-preview.7.22375.6 248,614 8/9/2022
7.0.0-preview.6.22324.4 148,828 7/12/2022
7.0.0-preview.5.22301.12 87,632 6/14/2022
7.0.0-preview.4.22229.4 217,953 5/10/2022
7.0.0-preview.3.22175.4 102,596 4/13/2022
7.0.0-preview.2.22152.2 113,681 3/14/2022
7.0.0-preview.1.22076.8 102,413 2/17/2022
6.0.2 677,159 11/12/2024
6.0.1 139,913,150 3/8/2022
6.0.0 308,423,979 11/8/2021
6.0.0-rc.2.21480.5 641,123 10/12/2021
6.0.0-rc.1.21451.13 431,608 9/14/2021
6.0.0-preview.7.21377.19 247,124 8/10/2021
6.0.0-preview.6.21352.12 157,680 7/14/2021
6.0.0-preview.5.21301.5 113,329 6/15/2021
6.0.0-preview.4.21253.7 89,012 5/24/2021
6.0.0-preview.3.21201.4 270,861 4/8/2021
6.0.0-preview.2.21154.6 150,379 3/11/2021 6.0.0-preview.2.21154.6 is deprecated because it is no longer maintained.
6.0.0-preview.1.21102.12 191,415 2/12/2021 6.0.0-preview.1.21102.12 is deprecated because it is no longer maintained.
5.0.0 248,226,683 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.5 306,094 10/13/2020 5.0.0-rc.2.20475.5 is deprecated because it is no longer maintained.
5.0.0-rc.1.20451.14 379,388 9/14/2020 5.0.0-rc.1.20451.14 is deprecated because it is no longer maintained.
5.0.0-preview.8.20407.11 365,007 8/25/2020 5.0.0-preview.8.20407.11 is deprecated because it is no longer maintained.
5.0.0-preview.7.20364.11 343,932 7/21/2020 5.0.0-preview.7.20364.11 is deprecated because it is no longer maintained.
5.0.0-preview.6.20305.6 85,041 6/25/2020 5.0.0-preview.6.20305.6 is deprecated because it is no longer maintained.
5.0.0-preview.5.20278.1 399,819 6/10/2020 5.0.0-preview.5.20278.1 is deprecated because it is no longer maintained.
5.0.0-preview.4.20251.6 151,678 5/18/2020 5.0.0-preview.4.20251.6 is deprecated because it is no longer maintained.
5.0.0-preview.3.20215.2 297,611 4/23/2020 5.0.0-preview.3.20215.2 is deprecated because it is no longer maintained.
5.0.0-preview.2.20160.3 321,231 4/2/2020 5.0.0-preview.2.20160.3 is deprecated because it is no longer maintained.
5.0.0-preview.1.20120.4 125,878 3/16/2020 5.0.0-preview.1.20120.4 is deprecated because it is no longer maintained.
3.1.32 14,736,086 12/13/2022
3.1.31 2,497,214 11/8/2022
3.1.30 3,197,950 10/11/2022
3.1.29 2,779,566 9/13/2022
3.1.28 2,682,546 8/9/2022
3.1.27 2,173,882 7/12/2022
3.1.26 1,872,623 6/14/2022
3.1.25 3,214,684 5/10/2022
3.1.24 12,083,933 4/11/2022
3.1.23 4,836,274 3/8/2022
3.1.22 22,350,551 12/14/2021
3.1.21 10,686,100 11/7/2021
3.1.20 5,774,776 10/11/2021
3.1.19 5,891,034 9/14/2021
3.1.18 44,327,371 8/10/2021
3.1.17 7,373,212 7/13/2021
3.1.16 11,303,460 6/8/2021
3.1.15 9,252,288 5/11/2021
3.1.14 17,421,092 4/6/2021
3.1.13 16,374,846 3/9/2021
3.1.12 12,680,136 2/9/2021
3.1.11 14,780,658 1/12/2021
3.1.10 29,006,531 11/9/2020
3.1.9 75,787,166 10/13/2020
3.1.8 69,551,169 9/8/2020
3.1.7 38,400,315 8/11/2020
3.1.6 43,374,438 7/14/2020
3.1.5 46,356,263 6/9/2020
3.1.4 48,138,910 5/12/2020
3.1.3 108,308,589 3/24/2020
3.1.2 80,640,156 2/18/2020
3.1.1 45,298,281 1/14/2020
3.1.0 301,699,689 12/3/2019
3.1.0-preview3.19553.2 237,947 11/13/2019 3.1.0-preview3.19553.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19525.4 84,424 11/1/2019 3.1.0-preview2.19525.4 is deprecated because it is no longer maintained.
3.1.0-preview1.19506.1 1,201,656 10/15/2019 3.1.0-preview1.19506.1 is deprecated because it is no longer maintained.
3.0.3 74,348,393 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 1,113,626 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.1 7,245,040 11/18/2019 3.0.1 is deprecated because it is no longer maintained.
3.0.0 94,901,433 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19456.10 102,599 9/16/2019 3.0.0-rc1.19456.10 is deprecated because it is no longer maintained.
3.0.0-preview9.19423.4 1,584,304 9/4/2019 3.0.0-preview9.19423.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.4 590,266 8/13/2019 3.0.0-preview8.19405.4 is deprecated because it is no longer maintained.
3.0.0-preview7.19362.4 340,064 7/23/2019 3.0.0-preview7.19362.4 is deprecated because it is no longer maintained.
3.0.0-preview6.19304.6 801,017 6/12/2019 3.0.0-preview6.19304.6 is deprecated because it is no longer maintained.
3.0.0-preview5.19227.9 863,368 5/6/2019 3.0.0-preview5.19227.9 is deprecated because it is no longer maintained.
3.0.0-preview4.19216.2 93,769 4/18/2019 3.0.0-preview4.19216.2 is deprecated because it is no longer maintained.
3.0.0-preview3.19153.1 393,425 3/6/2019 3.0.0-preview3.19153.1 is deprecated because it is no longer maintained.
3.0.0-preview.19074.2 252,917 1/29/2019 3.0.0-preview.19074.2 is deprecated because it is no longer maintained.
3.0.0-preview.18572.1 187,528 12/4/2018 3.0.0-preview.18572.1 is deprecated because it is no longer maintained.
2.2.0 288,700,892 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 527,778 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 334,551 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 203,910 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.1 434,490,452 6/18/2018
2.1.0 436,774,197 5/29/2018
2.1.0-rc1-final 589,767 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 671,641 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 658,905 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.2 41,930,189 5/7/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 21,546,347 3/13/2018 2.0.1 is deprecated because it is no longer maintained.
2.0.0 389,564,929 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 324,962 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 1,158,473 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.2 33,955,923 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 9,939,880 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 6,280,566 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 65,556 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.2 82,604,403 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 3,785,211 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 21,888,380 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 1,845,147 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.
1.0.0-rc1-final 866,014 11/18/2015 1.0.0-rc1-final is deprecated because it is no longer maintained.