SolutionFilterGenerator 1.3.0

dotnet tool install --global SolutionFilterGenerator --version 1.3.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local SolutionFilterGenerator --version 1.3.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=SolutionFilterGenerator&version=1.3.0
                    
nuke :add-package SolutionFilterGenerator --version 1.3.0
                    

A dotnet tool for generating solution filter (.slnf) files based on globs

NuGet Badge codecov

Easily create a solution filter to avoid restoring more than necessary

Usage example

RUN slnf-gen MySolution.sln --exclude **/*Test* && dotnet restore MySolution.slnf

Help

Description:
  Solution filter generator
  Example of excluding test projects: 'slnf-gen MySolution.sln --exclude **/*Test*' which creates MySolution.slnf

Usage:
  slnf-gen <path to sln> [options]

Arguments:
  <path to sln>  File path to the solution (.sln) file

Options:
  -e, --exclude <exclude>          Exclusion glob(s)
  -i, --include <include>          Inclusion glob(s) [default: **/*]
  -o, --output-path <output-path>  Optional path of output .slnf file. Defaults to same directory and file name as .sln file but different file extension
  --version                        Show version information
  -?, -h, --help                   Show help and usage information
Product Compatible and additional computed target framework versions.
.NET 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.3.0 208 10/15/2025
1.2.0 236 10/14/2025
1.1.0 19,849 4/6/2023
1.0.3 510 2/9/2023
1.0.2 391 2/4/2023
1.0.1 463 1/27/2023
1.0.0 435 1/26/2023