wcom-pr-validation
2026.5.10.4
dotnet tool install --global wcom-pr-validation --version 2026.5.10.4
dotnet new tool-manifest
dotnet tool install --local wcom-pr-validation --version 2026.5.10.4
#tool dotnet:?package=wcom-pr-validation&version=2026.5.10.4
nuke :add-package wcom-pr-validation --version 2026.5.10.4
.NET pull request validation (global tool)
A .NET global tool that clones a pull request branch, builds and tests .NET solutions, runs optional quality checks (formatting, complexity, documentation, NuGet hygiene), and posts results as comments in Azure DevOps pull requests.
Features
- Clone PR source and validate on an isolated branch
- Restore, build (including Cake when present), and test with summarized output
- Optional checks:
dotnet format, outdated packages, solution migration, Roslyn-based complexity and XML documentation analysis - Configurable thresholds and skips via a JSON file in the repository root
- Designed for CI/CD (Azure Pipelines) using standard environment variables
Requirements
- .NET SDK compatible with the tool’s target framework (see the package details)
- Git
- Network access to Azure DevOps for clone and PR comment APIs
Installation
dotnet tool install --global wcom-pr-validation
Use --add-source or a NuGet.config if you install from a private feed.
Quick start (command line)
Replace the URI, pull request id, branch, and token with your own. Example organization and project names are illustrative only.
wcom-pr-validation \
--pr "12345" \
--repo "https://dev.azure.com/contoso/Fabrikam/_git/sample-app" \
--pat "<personal-access-token>" \
--branch "refs/heads/feature/your-branch"
In Azure Pipelines, the same values are typically supplied through predefined pipeline variables; refer to your pipeline template or product documentation for the exact names.
Configuration
Repository-specific behavior (which optional steps run, thresholds, skip patterns) is controlled by a JSON configuration file in the root of the cloned repository. If the file is absent, documented defaults apply.
Documentation
For the full option list, environment variables, workflow details, and troubleshooting, see the project documentation shipped with your distribution (for example the repository that builds this package).
License
This package is distributed under the MIT license. See the LICENSE file in the package for full text.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.5.10.4 | 31 | 5/10/2026 |
| 2026.5.10.3 | 24 | 5/10/2026 |
| 2026.5.9.7 | 87 | 5/9/2026 |
| 2026.5.9.4 | 48 | 5/9/2026 |
| 2026.5.9.2 | 41 | 5/9/2026 |
| 2026.5.8.10 | 100 | 5/8/2026 |
| 2026.5.8.5 | 81 | 5/8/2026 |
| 2026.5.8.4 | 30 | 5/8/2026 |
| 2026.5.7.6 | 82 | 5/7/2026 |
| 2026.5.7.2 | 42 | 5/7/2026 |
| 2026.5.6.1 | 104 | 5/6/2026 |
| 2026.5.5.10 | 107 | 5/5/2026 |
| 2026.5.5.8 | 54 | 5/5/2026 |
| 2026.5.5.7 | 57 | 5/5/2026 |
| 2026.5.5.4 | 63 | 5/5/2026 |
| 2026.5.5.2 | 84 | 5/5/2026 |
| 2026.5.4.5 | 116 | 5/4/2026 |
| 2026.4.29.2 | 170 | 4/29/2026 |
| 2026.4.28.3 | 87 | 4/28/2026 |
| 2026.4.28.1 | 90 | 4/28/2026 |