From 7668d92afe458ec2d4497d8da89cfb5ee61721b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sz=C3=A9l=20P=C3=A9ter?= Date: Sat, 22 Feb 2025 12:50:17 +0100 Subject: [PATCH 1/2] Fixed incorrect dotnet build configuration The documentation incorrectly used the configuration input parameter as the built command does not use that parameter. --- docs/pipelines/ecosystems/dotnet-core.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pipelines/ecosystems/dotnet-core.md b/docs/pipelines/ecosystems/dotnet-core.md index bc854333b97..832629f48c7 100644 --- a/docs/pipelines/ecosystems/dotnet-core.md +++ b/docs/pipelines/ecosystems/dotnet-core.md @@ -727,7 +727,7 @@ To run tests and publish code coverage with Coverlet, do the following tasks: displayName: 'dotnet build' inputs: command: 'build' - configuration: $(buildConfiguration) + arguments: '--configuration $(buildConfiguration)' - task: DotNetCoreCLI@2 displayName: 'dotnet test' From 08bf5d0bb88d1fd9f6080a303e92f364ce96f475 Mon Sep 17 00:00:00 2001 From: Steve Danielson Date: Thu, 6 Aug 2026 10:55:20 -0400 Subject: [PATCH 2/2] Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- docs/pipelines/ecosystems/dotnet-core.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/pipelines/ecosystems/dotnet-core.md b/docs/pipelines/ecosystems/dotnet-core.md index 18296e98349..f78dc706af4 100644 --- a/docs/pipelines/ecosystems/dotnet-core.md +++ b/docs/pipelines/ecosystems/dotnet-core.md @@ -677,7 +677,6 @@ To run tests and publish code coverage with Coverlet: - task: UseDotNet@2 inputs: version: '8.x' - includePreviewVersions: true # Required for preview versions - task: DotNetCoreCLI@2 displayName: 'dotnet build'