slnutil 1.0.0
See the version list below for details.
dotnet tool install --global slnutil --version 1.0.0
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local slnutil --version 1.0.0
#tool dotnet:?package=slnutil&version=1.0.0
nuke :add-package slnutil --version 1.0.0
slnutil
A collection of utilities for working with .NET Core Solutions and Projects.
Written by Benjamin Day
Pluralsight Author | Microsoft MVP | Scrum.org Professional Scrum Trainer
https://www.benday.com
info@benday.com
Got ideas for utilities you'd like to see? Found a bug? Let us know by submitting an issue https://github.com/benday-inc/slnutil/issues. Want to contribute? Submit a pull request.
Installing
The slnutil is distributed as a .NET Core Tool via NuGet. To install it go to the command prompt and type
dotnet tool install slnutil -g
Prerequisites
- You'll need to install .NET Core 7 from https://dotnet.microsoft.com/
Commands
Command Name | Description |
---|---|
cleanreferences | Simplifies package references in a C# project file. Mostly this fixes stuff in the EF Core references that breaks Azure DevOps & GitHub builds like PrivateAssets and IncludeAssets directives. |
findsolutions | Find solution files in a folder tree. |
listsolutionprojects | Gets list of projects in a solution. |
base64 | Encodes a string value as a base 64 string. |
cleanreferences
Simplifies package references in a C# project file. Mostly this fixes stuff in the EF Core references that breaks Azure DevOps & GitHub builds like PrivateAssets and IncludeAssets directives.
Arguments
Argument | Is Optional | Data Type | Description |
---|---|---|---|
solutionpath | Optional | String | Solution file to use |
preview | Optional | Boolean | Preview changes only |
findsolutions
Find solution files in a folder tree.
Arguments
Argument | Is Optional | Data Type | Description |
---|---|---|---|
rootdir | Required | String | Path to start search from |
listprojects | Optional | Boolean | List projects in solutions |
csv | Optional | Boolean | Output results as comma-separated values |
skipreferences | Optional | Boolean | Output results as comma-separated values |
listsolutionprojects
Gets list of projects in a solution.
Arguments
Argument | Is Optional | Data Type | Description |
---|---|---|---|
solutionpath | Optional | String | Solution to examine. If this value is not supplied, the tool searches for a sln file automatically. |
base64
Encodes a string value as a base 64 string.
Arguments
Argument | Is Optional | Data Type | Description |
---|---|---|---|
value | Required | String | Value to encode as base64 |
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. 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. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
2.19.0 | 73 | 1/20/2025 |
2.17.0 | 229 | 11/27/2024 |
2.16.0 | 239 | 11/13/2024 |
2.15.0 | 152 | 10/31/2024 |
2.14.0 | 131 | 10/27/2024 |
2.13.0 | 177 | 10/4/2024 |
2.12.0 | 91 | 10/3/2024 |
2.11.0 | 216 | 9/10/2024 |
2.10.0 | 391 | 5/20/2024 |
2.9.0 | 100 | 5/20/2024 |
2.8.0 | 185 | 5/6/2024 |
2.7.0 | 118 | 4/24/2024 |
2.6.0 | 251 | 3/26/2024 |
2.5.0 | 156 | 2/6/2024 |
2.4.0 | 179 | 2/5/2024 |
2.3.0 | 145 | 2/5/2024 |
2.2.0 | 231 | 12/18/2023 |
2.1.0 | 162 | 12/18/2023 |
2.0.0 | 190 | 12/15/2023 |
1.10.0 | 235 | 10/4/2023 |
1.9.0 | 215 | 10/2/2023 |
1.8.0 | 177 | 8/24/2023 |
1.7.0 | 272 | 5/18/2023 |
1.6.0 | 220 | 4/21/2023 |
1.5.1 | 232 | 4/4/2023 |
1.5.0 | 225 | 4/4/2023 |
1.4.1 | 232 | 3/17/2023 |
1.4.0 | 228 | 3/7/2023 |
1.3.0 | 248 | 3/5/2023 |
1.1.1 | 248 | 3/3/2023 |
1.1.0 | 238 | 3/3/2023 |
1.0.0 | 238 | 3/3/2023 |