Microsoft.Extensions.FileSystemGlobbing 10.0.2

Prefix Reserved
dotnet add package Microsoft.Extensions.FileSystemGlobbing --version 10.0.2
                    
NuGet\Install-Package Microsoft.Extensions.FileSystemGlobbing -Version 10.0.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="Microsoft.Extensions.FileSystemGlobbing" Version="10.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Extensions.FileSystemGlobbing" Version="10.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.Extensions.FileSystemGlobbing" />
                    
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.FileSystemGlobbing --version 10.0.2
                    
#r "nuget: Microsoft.Extensions.FileSystemGlobbing, 10.0.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 Microsoft.Extensions.FileSystemGlobbing@10.0.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=Microsoft.Extensions.FileSystemGlobbing&version=10.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.Extensions.FileSystemGlobbing&version=10.0.2
                    
Install as a Cake Tool

About

Provides support for matching file system names/paths using glob patterns.

Key Features

  • Contains the Matcher type, which can be used to match files in the file system based on user-defined patterns.

How to Use

Get all matching files:

using Microsoft.Extensions.FileSystemGlobbing;

Matcher matcher = new();
matcher.AddIncludePatterns(new[] { "*.txt", "*.asciidoc", "*.md" });

string searchDirectory = "../starting-folder/";

IEnumerable<string> matchingFiles = matcher.GetResultsInFullPath(searchDirectory);

// Use matchingFiles if there are any found.
// The files in this collection are fully qualified file system paths.

Main Types

The main types provided by this library are:

  • Microsoft.Extensions.FileSystemGlobbing.Matcher

Additional Documentation

Feedback & Contributing

Microsoft.Extensions.FileSystemGlobbing is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

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 is compatible.  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 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 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 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 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  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.
  • .NETFramework 4.6.2

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • net10.0

    • No dependencies.
  • net8.0

    • No dependencies.
  • net9.0

    • No dependencies.

NuGet packages (240)

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

Package Downloads
Microsoft.Extensions.FileProviders.Physical

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

Microsoft.AspNetCore.Mvc.TagHelpers

ASP.NET Core MVC default tag helpers. Contains tag helpers for anchor tags, HTML input elements, caching, scripts, links (for CSS), and more.

Microsoft.AspNetCore.App

Provides a default set of APIs for building an ASP.NET Core application. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.

Microsoft.AspNetCore.All

Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.

Aspire.Hosting

Core abstractions for the Aspire application model.

GitHub repositories (91)

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

Repository Stars
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
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#.
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
dotnet/Silk.NET
The high-speed OpenGL, OpenCL, OpenAL, OpenXR, GLFW, SDL, Vulkan, Assimp, WebGPU, and DirectX bindings library your mother warned you about.
dotnet/samples
Sample code referenced by the .NET documentation
Facepunch/sbox-public
s&box is a modern game engine, built on Valve's Source 2 and the latest .NET technology, it provides a modern intuitive editor for creating games
MattParkerDev/SharpIDE
A modern, cross platform IDE for .NET, built with .NET & Godot
dotnet/roslynator
Roslynator is a set of code analysis tools for C#, powered by Roslyn.
dafny-lang/dafny
Dafny is a verification-aware programming language
coverlet-coverage/coverlet
Cross platform code coverage for .NET
GitTools/GitVersion
From git log to SemVer in no time
dotnet/sdk
Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
1357310795/MyComputerManager
管理“此电脑”里删不掉的流氓“快捷方式”(包括侧边栏),同时可自己添加这类“快捷方式”
serenity-is/Serenity
Business Apps Made Simple with Asp.Net Core MVC / TypeScript
YarnSpinnerTool/YarnSpinner
Yarn Spinner is a tool for building interactive dialogue in games!
NuGetPackageExplorer/NuGetPackageExplorer
Create, update and deploy Nuget Packages with a GUI
Impostor/Impostor
Impostor - An open source reimplementation of the Among Us Server
6over3/bebop
🎷No ceremony, just code. Blazing fast, typesafe binary serialization.
Version Downloads Last Updated
10.0.2 434,134 1/13/2026
10.0.1 3,158,871 12/9/2025
10.0.0 6,573,650 11/11/2025
10.0.0-rc.2.25502.107 168,677 10/14/2025
10.0.0-rc.1.25451.107 255,510 9/9/2025
10.0.0-preview.7.25380.108 76,042 8/12/2025
10.0.0-preview.6.25358.103 90,246 7/15/2025
10.0.0-preview.5.25277.114 92,121 6/6/2025
10.0.0-preview.4.25258.110 52,428 5/12/2025
10.0.0-preview.3.25171.5 104,674 4/10/2025
10.0.0-preview.2.25163.2 53,527 3/18/2025
10.0.0-preview.1.25080.5 92,189 2/25/2025
9.0.12 74,138 1/13/2026
9.0.11 2,600,479 11/11/2025
9.0.10 7,151,212 10/14/2025
9.0.9 10,165,983 9/9/2025
9.0.8 9,884,131 8/4/2025
9.0.7 8,101,591 7/8/2025
9.0.6 8,994,746 6/10/2025
9.0.5 11,624,098 5/13/2025
9.0.4 15,899,772 4/8/2025
9.0.3 11,673,743 3/11/2025
9.0.2 12,319,703 2/11/2025
9.0.1 12,339,410 1/14/2025
9.0.0 32,867,526 11/12/2024
9.0.0-rc.2.24473.5 235,662 10/8/2024
9.0.0-rc.1.24431.7 161,959 9/10/2024
9.0.0-preview.7.24405.7 127,489 8/13/2024
9.0.0-preview.6.24327.7 138,147 7/9/2024
9.0.0-preview.5.24306.7 94,681 6/11/2024
9.0.0-preview.4.24266.19 183,084 5/21/2024
9.0.0-preview.3.24172.9 174,131 4/11/2024
9.0.0-preview.2.24128.5 100,185 3/12/2024
9.0.0-preview.1.24080.9 121,812 2/13/2024
8.0.0 337,063,413 11/14/2023
8.0.0-rc.2.23479.6 376,563 10/10/2023
8.0.0-rc.1.23419.4 486,456 9/12/2023
8.0.0-preview.7.23375.6 170,700 8/8/2023
8.0.0-preview.6.23329.7 196,256 7/11/2023
8.0.0-preview.5.23280.8 200,475 6/13/2023
8.0.0-preview.4.23259.5 370,925 5/16/2023
8.0.0-preview.3.23174.8 265,503 4/11/2023
8.0.0-preview.2.23128.3 93,713 3/14/2023
8.0.0-preview.1.23110.8 176,724 2/21/2023
7.0.0 156,804,516 11/7/2022
7.0.0-rc.2.22472.3 242,118 10/11/2022
7.0.0-rc.1.22426.10 182,857 9/14/2022
7.0.0-preview.7.22375.6 238,182 8/9/2022
7.0.0-preview.6.22324.4 121,804 7/12/2022
7.0.0-preview.5.22301.12 79,890 6/14/2022
7.0.0-preview.4.22229.4 123,690 5/10/2022
7.0.0-preview.3.22175.4 74,127 4/13/2022
7.0.0-preview.2.22152.2 67,381 3/14/2022
7.0.0-preview.1.22076.8 54,425 2/17/2022
6.0.0 371,674,044 11/8/2021
6.0.0-rc.2.21480.5 584,381 10/12/2021
6.0.0-rc.1.21451.13 397,048 9/14/2021
6.0.0-preview.7.21377.19 229,265 8/10/2021
6.0.0-preview.6.21352.12 137,362 7/14/2021
6.0.0-preview.5.21301.5 84,498 6/15/2021
6.0.0-preview.4.21253.7 67,079 5/24/2021
6.0.0-preview.3.21201.4 235,300 4/8/2021
6.0.0-preview.2.21154.6 142,173 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 166,004 2/12/2021 6.0.0-preview.1.21102.12 is deprecated because it is no longer maintained.
5.0.0 233,451,762 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.5 293,838 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 356,953 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 79,301 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 149,100 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 65,176 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 424,081 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 134,406 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 53,205 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 129,555 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 63,526 3/16/2020 5.0.0-preview.1.20120.4 is deprecated because it is no longer maintained.
3.1.32 5,136,730 12/13/2022
3.1.31 1,694,456 11/8/2022
3.1.30 2,367,717 10/11/2022
3.1.29 1,775,218 9/13/2022
3.1.28 1,029,571 8/9/2022
3.1.27 951,057 7/12/2022
3.1.26 892,342 6/14/2022
3.1.25 1,353,733 5/10/2022
3.1.24 15,330,603 4/11/2022
3.1.23 3,560,010 3/8/2022
3.1.22 17,347,496 12/14/2021
3.1.21 5,173,902 11/7/2021
3.1.20 2,637,395 10/11/2021
3.1.19 2,467,819 9/14/2021
3.1.18 4,527,947 8/10/2021
3.1.17 3,761,534 7/13/2021
3.1.16 4,235,233 6/8/2021
3.1.15 4,836,928 5/11/2021
3.1.14 6,859,496 4/6/2021
3.1.13 7,705,045 3/9/2021
3.1.12 5,412,941 2/9/2021
3.1.11 7,289,343 1/12/2021
3.1.10 15,234,214 11/9/2020
3.1.9 18,380,016 10/13/2020
3.1.8 23,033,934 9/8/2020
3.1.7 15,743,887 8/11/2020
3.1.6 25,522,828 7/14/2020
3.1.5 26,242,683 6/9/2020
3.1.4 16,790,575 5/12/2020
3.1.3 29,235,583 3/24/2020
3.1.2 22,049,785 2/18/2020
3.1.1 19,585,567 1/14/2020
3.1.0 223,120,414 12/3/2019
3.1.0-preview3.19553.2 98,830 11/13/2019 3.1.0-preview3.19553.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19525.4 21,311 11/1/2019 3.1.0-preview2.19525.4 is deprecated because it is no longer maintained.
3.1.0-preview1.19506.1 51,482 10/15/2019 3.1.0-preview1.19506.1 is deprecated because it is no longer maintained.
3.0.3 941,510 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 980,107 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.1 3,374,201 11/18/2019 3.0.1 is deprecated because it is no longer maintained.
3.0.0 34,893,550 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19456.10 46,894 9/16/2019 3.0.0-rc1.19456.10 is deprecated because it is no longer maintained.
3.0.0-preview9.19423.4 263,895 9/4/2019 3.0.0-preview9.19423.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.4 272,462 8/13/2019 3.0.0-preview8.19405.4 is deprecated because it is no longer maintained.
3.0.0-preview7.19362.4 238,068 7/23/2019 3.0.0-preview7.19362.4 is deprecated because it is no longer maintained.
3.0.0-preview6.19304.6 613,376 6/12/2019 3.0.0-preview6.19304.6 is deprecated because it is no longer maintained.
3.0.0-preview5.19227.9 239,469 5/6/2019 3.0.0-preview5.19227.9 is deprecated because it is no longer maintained.
3.0.0-preview4.19216.2 39,528 4/18/2019 3.0.0-preview4.19216.2 is deprecated because it is no longer maintained.
3.0.0-preview3.19153.1 209,021 3/6/2019 3.0.0-preview3.19153.1 is deprecated because it is no longer maintained.
3.0.0-preview.19074.2 137,371 1/29/2019 3.0.0-preview.19074.2 is deprecated because it is no longer maintained.
3.0.0-preview.18572.1 54,896 12/4/2018 3.0.0-preview.18572.1 is deprecated because it is no longer maintained.
2.2.0 310,508,546 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 315,927 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 174,256 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 94,947 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.1 340,844,105 6/18/2018
2.1.0 329,755,849 5/29/2018
2.1.0-rc1-final 323,615 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 423,045 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 1,851,533 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.1 45,498,760 3/13/2018 2.0.1 is deprecated because it is no longer maintained.
2.0.0 109,507,311 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 560,088 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 206,503 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.1 24,069,254 5/9/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 16,544,004 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 70,137 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.1 96,500,332 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 22,291,125 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 1,898,536 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.
1.0.0-rc1-final 258,268 11/18/2015 1.0.0-rc1-final is deprecated because it is no longer maintained.