dotnet-ado-build-test

Configure .NET build and test pipelines in Azure DevOps with DotNetCoreCLI@2 tasks.

1|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/rudironsoni/dotnet-agent-harness --skill dotnet-ado-build-test-rudironsoni
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-ado-build-test
Source: https://github.com/rudironsoni/dotnet-agent-harness/tree/main/.rulesync/skills/dotnet-ado-build-test
Command: npx skills add https://github.com/rudironsoni/dotnet-agent-harness --skill dotnet-ado-build-test-rudironsoni

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the setup of .NET build and test pipelines within Azure DevOps, automating crucial steps for continuous integration.

Core Features & Use Cases

  • Build & Test Automation: Configures DotNetCoreCLI@2 tasks for building, testing, and packing .NET projects.
  • Artifacts & Reporting: Integrates with Azure Artifacts for NuGet package management and publishes test results and code coverage reports.
  • Use Case: You need to set up a new Azure DevOps pipeline for your .NET Core application. This Skill provides the YAML snippets to restore dependencies, build the solution, run unit tests, and publish the results, ensuring your code is consistently validated.

Quick Start

Use the dotnet-ado-build-test skill to configure a basic build and test pipeline for a .NET solution.

Frequently Asked Questions about dotnet-ado-build-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure a .NET build and test pipeline in Azure DevOps?

To configure a .NET build and test pipeline in Azure DevOps, you use DotNetCoreCLI@2 tasks to automate dependency restoration, build the solution, execute tests, and publish test results in TRX or JUnit formats.

How do I publish code coverage reports for a .NET build in Azure DevOps?

Publishing code coverage reports for a .NET build in Azure DevOps involves configuring DotNetCoreCLI@2 tasks to generate Cobertura coverage data during test execution and then publishing those reports directly within the pipeline.

Can I use Azure Artifacts for NuGet feed authentication in a .NET pipeline?

Yes, you can use Azure Artifacts for NuGet feed authentication in a .NET pipeline by integrating NuGetAuthenticate@1 tasks to securely restore dependencies from your configured feeds during the build process.

Does this .NET CI/D pipeline configuration support multi-target framework builds?

Yes, this .NET CI/CD pipeline configuration supports multi-TFM builds, allowing you to compile your .NET projects against multiple target frameworks within a single Azure DevOps pipeline execution.

What is the best way to automate .NET test execution and result publishing in Azure DevOps?

The best way to automate .NET test execution and result publishing in Azure DevOps is using DotNetCoreCLI@2 tasks to run tests and automatically publish outputs in TRX and JUnit formats for continuous integration validation.

Why do I need NuGetAuthenticate@1 for my .NET Azure DevOps build pipeline?

You need NuGetAuthenticate@1 for your .NET Azure DevOps build pipeline to handle feed authentication automatically, ensuring DotNetCoreCLI@2 tasks can successfully restore private dependencies from Azure Artifacts without manual credential management.