KDISim.CheckConsolidate
1.4.0
See the version list below for details.
dotnet add package KDISim.CheckConsolidate --version 1.4.0
NuGet\Install-Package KDISim.CheckConsolidate -Version 1.4.0
<PackageReference Include="KDISim.CheckConsolidate" Version="1.4.0" />
paket add KDISim.CheckConsolidate --version 1.4.0
#r "nuget: KDISim.CheckConsolidate, 1.4.0"
// Install KDISim.CheckConsolidate as a Cake Addin #addin nuget:?package=KDISim.CheckConsolidate&version=1.4.0 // Install KDISim.CheckConsolidate as a Cake Tool #tool nuget:?package=KDISim.CheckConsolidate&version=1.4.0
Readme file for CheckConsolidate.sln
Perform the Nuget consolidate check on build server (command line)
Add it to your build by using the Command Line task
Use as command line tool in TFS/VSTS build
Insert two command line prompt tasks
Task 1: Get Consolidate executable (Display name)
Tool: nuget.exe
Arguments: install KDISim.CheckConsolidate -source https://api.nuget.org/v3/index.json -ExcludeVersion -o "$(Build.SourcesDirectory)\toolspackages"
Task 2: Check nuget consolidate (Display name)
Tool: $(Build.SourcesDirectory)\toolspackages\KDISim.CheckConsolidate\Tools\CheckConsolidate.exe
Arguments: -s (if you want the short notation)
Advanced/Working folder: $(Build.SourcesDirectory)
Advanced/Fail on Standard Error: true if you want red/yellow builds, false, if you just want a log
Control Options: Continue on error: true if you want yellow builds, false if you want red and build stops
Options
Short notation | Long notation | Description |
---|---|---|
-?, -h | --help | Show help text. |
-d | --directory | Path to the packages folder to scan. Default value is <working directory>\packages. |
-s | --strict | Enable strict mode. |
-r | --reportOnly | Only report consolidation issues but don't fail. Doesn't trigger yellow build in TFS/VSTS builds. Exit code always = 0 |
-e | --exclude | Exclude a package id from the consolidation checks (can be specified multiple times). |
-v | --verbose | Enable verbose logging. |
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Adds ability to exclude packages