From 877f9dba7fdc688b40d6ec1f297385cf2898ac69 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Aug 2026 05:34:54 +0000 Subject: [PATCH 1/2] Bump the nuget-dependencies group with 8 updates Bumps Microsoft.CodeAnalysis.NetAnalyzers from 10.0.302 to 10.0.400 Bumps Microsoft.Extensions.FileSystemGlobbing from 10.0.10 to 10.0.11 Bumps Microsoft.NET.Test.Sdk from 18.8.1 to 18.9.0 Bumps Microsoft.SourceLink.GitHub from 10.0.301 to 10.0.400 Bumps Polyfill from 11.0.2 to 11.2.0 Bumps SonarAnalyzer.CSharp from 10.31.0.145097 to 10.32.0.713 Bumps xunit.runner.visualstudio from 3.1.5 to 4.0.0 Bumps xunit.v3 from 3.2.2 to 4.0.0 --- updated-dependencies: - dependency-name: Microsoft.CodeAnalysis.NetAnalyzers dependency-version: 10.0.400 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-dependencies - dependency-name: Microsoft.CodeAnalysis.NetAnalyzers dependency-version: 10.0.400 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-dependencies - dependency-name: Microsoft.Extensions.FileSystemGlobbing dependency-version: 10.0.11 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-dependencies - dependency-name: Microsoft.NET.Test.Sdk dependency-version: 18.9.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-dependencies - dependency-name: Microsoft.SourceLink.GitHub dependency-version: 10.0.400 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-dependencies - dependency-name: Polyfill dependency-version: 11.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-dependencies - dependency-name: SonarAnalyzer.CSharp dependency-version: 10.32.0.713 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-dependencies - dependency-name: SonarAnalyzer.CSharp dependency-version: 10.32.0.713 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-dependencies - dependency-name: xunit.runner.visualstudio dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: nuget-dependencies - dependency-name: xunit.v3 dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: nuget-dependencies ... Signed-off-by: dependabot[bot] --- .../DemaConsulting.FileAssert.csproj | 10 +++++----- .../DemaConsulting.FileAssert.Tests.csproj | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/DemaConsulting.FileAssert/DemaConsulting.FileAssert.csproj b/src/DemaConsulting.FileAssert/DemaConsulting.FileAssert.csproj index 08156f3..57af7db 100644 --- a/src/DemaConsulting.FileAssert/DemaConsulting.FileAssert.csproj +++ b/src/DemaConsulting.FileAssert/DemaConsulting.FileAssert.csproj @@ -52,14 +52,14 @@ - + - - + + @@ -69,11 +69,11 @@ in packages that consume this tool. - IncludeAssets lists all asset types (including 'analyzers' and 'buildtransitive') to ensure Roslyn analyzers and MSBuild targets are fully activated during the build. --> - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/test/DemaConsulting.FileAssert.Tests/DemaConsulting.FileAssert.Tests.csproj b/test/DemaConsulting.FileAssert.Tests/DemaConsulting.FileAssert.Tests.csproj index 45b952b..9f8c1f0 100644 --- a/test/DemaConsulting.FileAssert.Tests/DemaConsulting.FileAssert.Tests.csproj +++ b/test/DemaConsulting.FileAssert.Tests/DemaConsulting.FileAssert.Tests.csproj @@ -35,10 +35,10 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive @@ -51,11 +51,11 @@ in any project that references this test project. - IncludeAssets lists all asset types (including 'analyzers' and 'buildtransitive') to ensure Roslyn analyzers and MSBuild targets are fully activated during the build. --> - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive From ead939744064ef7c48b2c1bacdf99bec7d61df48 Mon Sep 17 00:00:00 2001 From: Malcolm Nixon Date: Tue, 18 Aug 2026 21:16:48 -0400 Subject: [PATCH 2/2] Fix build for xunit.v3 4.0.0 and Microsoft.Testing.Platform migration - Add global.json to select Microsoft.Testing.Platform test runner - Replace coverlet.collector with coverlet.MTP (native MTP extension) - Add Microsoft.Testing.Extensions.TrxReport for TRX report generation - Update build.yaml to use --coverlet/--coverlet-output-format and --report-trx/--report-trx-filename instead of VSTest --collect/--logger Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/build.yaml | 6 ++++-- global.json | 5 +++++ .../DemaConsulting.FileAssert.Tests.csproj | 11 +++++++---- 3 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 global.json diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 6f1cb5b..d0a60b8 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -188,8 +188,10 @@ jobs: --no-build --configuration Release --property:Version=${{ inputs.version }} - --collect "XPlat Code Coverage;Format=opencover" - --logger "trx;LogFilePrefix=${{ matrix.os }}" + --coverlet + --coverlet-output-format opencover + --report-trx + --report-trx-filename "${{ matrix.os }}_{asm}_{tfm}_{arch}.trx" --results-directory artifacts - name: End Sonar Scanner diff --git a/global.json b/global.json new file mode 100644 index 0000000..3140116 --- /dev/null +++ b/global.json @@ -0,0 +1,5 @@ +{ + "test": { + "runner": "Microsoft.Testing.Platform" + } +} diff --git a/test/DemaConsulting.FileAssert.Tests/DemaConsulting.FileAssert.Tests.csproj b/test/DemaConsulting.FileAssert.Tests/DemaConsulting.FileAssert.Tests.csproj index 9f8c1f0..9a4c90c 100644 --- a/test/DemaConsulting.FileAssert.Tests/DemaConsulting.FileAssert.Tests.csproj +++ b/test/DemaConsulting.FileAssert.Tests/DemaConsulting.FileAssert.Tests.csproj @@ -27,15 +27,18 @@ - - + extension's MSBuild targets are activated so coverage is collected during test runs. --> + all - runtime; build; native; contentfiles; analyzers; buildtransitive + compile; runtime; build; native; contentfiles; analyzers; buildtransitive +