A tool that scans your project files and normalizes all PackageReference entries to single line entries that only use attribute notation.
Get Started
No framework information available.
README
Package Reference Normalizer
A tool that scans your project files and converts
<PackageReference Include="MyPackage">
<Version>1.2.3.4</Version>
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
to
<PackageReference Include="MyPackage" Version="1.2.3.4" PrivateAssets="all" />
- All elements are converted to attributes
IncludeAssetsis removed ifPrivateAssets=All
Instllation
To install the tool, run
dotnet tool install -g PackageReferenceNormalizer
Usage
Run PackageReferenceNormalizer c:\Dev\MyProject\*.csproj
This will scan all *.csproj files in c:\Dev\MyProject and all sub-folders
Run PackageReferenceNormalizer *.csproj
This will scan all *.csproj files in the current directory and all sub-folders
Downloads by Version
Depended On By
Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.