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

Primitives shared by framework extensions. Commonly used types include:
Microsoft.Extensions.Primitives.IChangeToken
Microsoft.Extensions.Primitives.StringValues
Microsoft.Extensions.Primitives.StringSegment

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.  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. 
.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.0 is compatible.  netstandard1.1 was computed.  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 wp8 was computed.  wp81 was computed.  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 (723)

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

Package Downloads
Microsoft.Extensions.Options

Provides a strongly typed way of specifying and accessing settings using dependency injection.

Microsoft.Extensions.Configuration.Abstractions

Provides abstractions of key-value pair based configuration. Interfaces defined in this package are implemented by classes in Microsoft.Extensions.Configuration and other configuration packages.

Microsoft.Extensions.Configuration

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

Microsoft.Extensions.FileProviders.Abstractions

Abstractions of files and directories. Commonly Used Types: Microsoft.Extensions.FileProviders.IDirectoryContents Microsoft.Extensions.FileProviders.IFileInfo Microsoft.Extensions.FileProviders.IFileProvider

Microsoft.Extensions.FileProviders.Physical

File provider for physical files for Microsoft.Extensions.FileProviders.

GitHub repositories (189)

Showing the top 20 popular GitHub repositories that depend on Microsoft.Extensions.Primitives:

Repository Stars
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
chocolatey/choco
Chocolatey - the package manager for Windows
JeffreySu/WeiXinMPSDK
微信全平台 .NET SDK, Senparc.Weixin for C#,支持 .NET Framework 及 .NET Core、.NET 10.0。已支持微信公众号、小程序、小游戏、微信支付、企业微信/企业号、开放平台、JSSDK、微信周边等全平台。 WeChat SDK for C#.
microsoft/ailab
Experience, Learn and Code the latest breakthrough innovations with Microsoft AI
Azure/azure-sdk-for-net
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
FastEndpoints/FastEndpoints
A light-weight REST API development framework for ASP.NET 8 and newer.
aspnet/Mvc
[Archived] ASP.NET Core MVC is a model view controller framework for building dynamic web sites with clean separation of concerns, including the merged MVC, Web API, and Web Pages w/ Razor. Project moved to https://github.com/aspnet/AspNetCore
ServiceStack/ServiceStack
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
dotnet/aspire
Aspire is the tool for code-first, extensible, observable dev and deploy.
openiddict/openiddict-core
Flexible and versatile OAuth 2.0/OpenID Connect stack for .NET
Azure/azure-powershell
Microsoft Azure PowerShell
hardkoded/puppeteer-sharp
Headless Chrome .NET API
dotnet/aspnet-api-versioning
Provides a set of libraries which add service API versioning to ASP.NET Web API, OData with ASP.NET Web API, and ASP.NET Core.
projectkudu/kudu
Kudu is the engine behind git/hg deployments, WebJobs, and various other features in Azure Web Sites. It can also run outside of Azure.
1357310795/MyComputerManager
管理“此电脑”里删不掉的流氓“快捷方式”(包括侧边栏),同时可自己添加这类“快捷方式”
microsoft/playwright-dotnet
.NET version of the Playwright testing and automation library.
zzzprojects/EntityFramework-Plus
Entity Framework Plus extends your DbContext with must-haves features: Include Filter, Auditing, Caching, Query Future, Batch Delete, Batch Update, and more
zsh2401/AutumnBox
图形化ADB工具箱
microsoft/WhatTheHack
A collection of challenge based hack-a-thons including student guide, coach guide, lecture presentations, sample/instructional code and templates. Please visit the What The Hack website at: https://aka.ms/wth
Version Downloads Last Updated
10.0.0 1,514,594 11/11/2025
10.0.0-rc.2.25502.107 394,026 10/14/2025
10.0.0-rc.1.25451.107 413,209 9/9/2025
10.0.0-preview.7.25380.108 177,794 8/12/2025
10.0.0-preview.6.25358.103 155,554 7/15/2025
10.0.0-preview.5.25277.114 312,415 6/6/2025
10.0.0-preview.4.25258.110 156,555 5/12/2025
10.0.0-preview.3.25171.5 224,473 4/10/2025
10.0.0-preview.2.25163.2 139,194 3/18/2025
10.0.0-preview.1.25080.5 260,206 2/25/2025
9.0.11 783,091 11/11/2025
9.0.10 8,876,012 10/14/2025
9.0.9 15,671,704 9/9/2025
9.0.8 18,244,634 8/4/2025
9.0.7 15,812,195 7/8/2025
9.0.6 18,680,825 6/10/2025
9.0.5 24,109,620 5/13/2025
9.0.4 40,433,629 4/8/2025
9.0.3 26,859,599 3/11/2025
9.0.2 32,511,737 2/11/2025
9.0.1 40,294,031 1/14/2025
9.0.0 136,286,587 11/12/2024
9.0.0-rc.2.24473.5 1,418,073 10/8/2024
9.0.0-rc.1.24431.7 791,680 9/10/2024
9.0.0-preview.7.24405.7 1,299,708 8/13/2024
9.0.0-preview.6.24327.7 590,161 7/9/2024
9.0.0-preview.5.24306.7 351,441 6/11/2024
9.0.0-preview.4.24266.19 339,143 5/21/2024
9.0.0-preview.3.24172.9 502,769 4/11/2024
9.0.0-preview.2.24128.5 360,623 3/12/2024
9.0.0-preview.1.24080.9 365,423 2/13/2024
8.0.0 608,902,534 11/14/2023
8.0.0-rc.2.23479.6 3,558,664 10/10/2023
8.0.0-rc.1.23419.4 1,978,294 9/12/2023
8.0.0-preview.7.23375.6 1,108,148 8/8/2023
8.0.0-preview.6.23329.7 640,707 7/11/2023
8.0.0-preview.5.23280.8 506,354 6/13/2023
8.0.0-preview.4.23259.5 759,504 5/16/2023
8.0.0-preview.3.23174.8 812,024 4/11/2023
8.0.0-preview.2.23128.3 566,856 3/14/2023
8.0.0-preview.1.23110.8 467,865 2/21/2023
7.0.0 409,569,517 11/7/2022
7.0.0-rc.2.22472.3 4,617,223 10/11/2022
7.0.0-rc.1.22426.10 677,596 9/14/2022
7.0.0-preview.7.22375.6 510,115 8/9/2022
7.0.0-preview.6.22324.4 419,200 7/12/2022
7.0.0-preview.5.22301.12 270,511 6/14/2022
7.0.0-preview.4.22229.4 645,801 5/10/2022
7.0.0-preview.3.22175.4 252,676 4/13/2022
7.0.0-preview.2.22152.2 407,032 3/14/2022
7.0.0-preview.1.22076.8 279,313 2/17/2022
6.0.1 11,831,897 11/12/2024
6.0.0 919,753,765 11/8/2021
6.0.0-rc.2.21480.5 2,253,793 10/12/2021
6.0.0-rc.1.21451.13 865,353 9/14/2021
6.0.0-preview.7.21377.19 961,981 8/10/2021
6.0.0-preview.6.21352.12 474,624 7/14/2021
6.0.0-preview.5.21301.5 456,653 6/15/2021
6.0.0-preview.4.21253.7 2,729,796 5/24/2021
6.0.0-preview.3.21201.4 926,867 4/8/2021
6.0.0-preview.2.21154.6 321,370 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 802,036 2/12/2021 6.0.0-preview.1.21102.12 is deprecated because it is no longer maintained.
5.0.1 76,290,527 4/6/2021 5.0.1 is deprecated because it is no longer maintained.
5.0.0 664,003,103 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.5 1,266,664 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 1,024,781 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 789,488 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 576,155 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 268,503 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 523,199 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 460,829 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 348,320 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 469,007 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 242,745 3/16/2020 5.0.0-preview.1.20120.4 is deprecated because it is no longer maintained.
3.1.32 42,142,495 12/13/2022
3.1.31 4,828,579 11/8/2022
3.1.30 4,623,071 10/11/2022
3.1.29 4,181,041 9/13/2022
3.1.28 8,082,962 8/9/2022
3.1.27 3,102,780 7/12/2022
3.1.26 2,626,160 6/14/2022
3.1.25 4,812,488 5/10/2022
3.1.24 18,021,232 4/11/2022
3.1.23 6,835,029 3/8/2022
3.1.22 31,509,268 12/14/2021
3.1.21 16,043,161 11/7/2021
3.1.20 9,189,674 10/11/2021
3.1.19 7,526,974 9/14/2021
3.1.18 78,947,591 8/10/2021
3.1.17 10,401,020 7/13/2021
3.1.16 21,256,982 6/8/2021
3.1.15 11,940,809 5/11/2021
3.1.14 24,974,757 4/6/2021
3.1.13 21,177,123 3/9/2021
3.1.12 16,683,493 2/9/2021
3.1.11 26,248,633 1/12/2021
3.1.10 40,533,777 11/9/2020
3.1.9 101,750,958 10/13/2020
3.1.8 295,635,276 9/8/2020
3.1.7 54,578,379 8/11/2020
3.1.6 60,279,837 7/14/2020
3.1.5 64,648,588 6/9/2020
3.1.4 83,948,717 5/12/2020
3.1.3 162,862,024 3/24/2020
3.1.2 100,402,339 2/18/2020
3.1.1 58,391,492 1/14/2020
3.1.0 418,888,952 12/3/2019
3.1.0-preview3.19553.2 2,416,414 11/13/2019 3.1.0-preview3.19553.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19525.4 270,990 11/1/2019 3.1.0-preview2.19525.4 is deprecated because it is no longer maintained.
3.1.0-preview1.19506.1 1,423,501 10/15/2019 3.1.0-preview1.19506.1 is deprecated because it is no longer maintained.
3.0.3 95,954,476 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 1,361,602 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.1 9,497,294 11/18/2019 3.0.1 is deprecated because it is no longer maintained.
3.0.0 257,184,746 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19456.10 210,553 9/16/2019 3.0.0-rc1.19456.10 is deprecated because it is no longer maintained.
3.0.0-preview9.19423.4 1,862,703 9/4/2019 3.0.0-preview9.19423.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.4 714,090 8/13/2019 3.0.0-preview8.19405.4 is deprecated because it is no longer maintained.
3.0.0-preview7.19362.4 398,461 7/23/2019 3.0.0-preview7.19362.4 is deprecated because it is no longer maintained.
3.0.0-preview6.19304.6 1,014,878 6/12/2019 3.0.0-preview6.19304.6 is deprecated because it is no longer maintained.
3.0.0-preview5.19227.9 953,516 5/6/2019 3.0.0-preview5.19227.9 is deprecated because it is no longer maintained.
3.0.0-preview4.19216.2 105,488 4/18/2019 3.0.0-preview4.19216.2 is deprecated because it is no longer maintained.
3.0.0-preview3.19153.1 479,068 3/6/2019 3.0.0-preview3.19153.1 is deprecated because it is no longer maintained.
3.0.0-preview.19074.2 273,337 1/29/2019 3.0.0-preview.19074.2 is deprecated because it is no longer maintained.
3.0.0-preview.18572.1 221,109 12/4/2018 3.0.0-preview.18572.1 is deprecated because it is no longer maintained.
2.2.0 973,285,881 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 846,839 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 718,028 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 387,088 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.6 8,922,665 11/13/2018
2.1.1 654,060,173 6/18/2018
2.1.0 701,277,739 5/29/2018
2.1.0-rc1-final 843,416 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 1,189,989 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 2,362,388 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.0 795,516,895 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 935,653 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 874,321 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.1 98,156,349 5/9/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 67,604,342 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 295,315 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.1 155,400,210 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 380,367,078 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 2,451,015 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.
1.0.0-rc1-final 1,102,794 11/18/2015 1.0.0-rc1-final is deprecated because it is no longer maintained.