Skip to content

Merge latest Library.Template#1450

Merged
AArnott merged 15 commits into
mainfrom
dev/andarno/libtemplateUpdate
Jun 2, 2026
Merged

Merge latest Library.Template#1450
AArnott merged 15 commits into
mainfrom
dev/andarno/libtemplateUpdate

Conversation

@AArnott
Copy link
Copy Markdown
Member

@AArnott AArnott commented Jun 2, 2026

  • Update Microsoft Testing Platform to 2.2.3 (517)
  • Update dependency Microsoft.Testing.Extensions.CodeCoverage to 18.7.0 (519)
  • Update dependency dotnet-coverage to v18.7.0 (518)
  • Update mcr.microsoft.com/dotnet/sdk:10.0.300 Docker digest to c079063 (520)
  • Update dependency powershell to v7.6.2 (521)
  • Update dependency PolySharp to 1.16.0 (522)
  • Fix Install-DotNetSdk.ps1 hang from recursive Directory.Build.props search (513)

renovate Bot and others added 14 commits May 15, 2026 17:48
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
… (519)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
… (520)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…earch (#513)

* Fix Install-DotNetSdk.ps1 hang from recursive Directory.Build.props search

The Get-ChildItem call applied -Recurse to all three path arguments,
including Directory.Build.props. PowerShell splits this into container
+ leaf filter, so -Recurse causes it to search the entire repo root
for every file named Directory.Build.props, crawling into large
directories (bin, obj, tmp, etc.) and causing the script to hang.

Split the call so -Recurse only applies to the src/ and test/ project
file globs. Directory.Build.props is fetched with Get-Item -LiteralPath
(single file, no recursion, no wildcard interpretation).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Recursively search src/ and test/ for Directory.Build.props

Address review feedback: keep recursive Directory.Build.props discovery under src/ and test/, while still picking up the repo-root file. Avoids crawling top-level bin/obj/tmp directories.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: drognanar <3418274+drognanar@users.noreply.github.com>
Resolve Directory.Packages.props merge conflicts by taking incoming template updates while preserving repo-specific settings:

- Update MicrosoftTestingPlatformVersion to 2.2.3 from template

- Keep MessagePackVersion property used by this repo

- Update PolySharp to 1.16.0 while preserving DisablePolyfills condition used by test project
Copilot AI review requested due to automatic review settings June 2, 2026 17:43
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates repository build/test infrastructure to align with the latest Library.Template, primarily via dependency/tool version bumps and a PowerShell script fix to avoid a hang when scanning MSBuild props.

Changes:

  • Bump Microsoft Testing Platform to 2.2.3 and update related tooling/dependencies (code coverage + PolySharp).
  • Update local dotnet tools to powershell 7.6.2 and dotnet-coverage 18.7.0.
  • Fix tools/Install-DotNetSdk.ps1 project/props discovery to avoid a recursive Directory.Build.props search that can hang.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

File Description
tools/Install-DotNetSdk.ps1 Refines project/props enumeration to avoid the problematic recursive root Directory.Build.props search.
Directory.Packages.props Central package version bumps (MTP, CodeCoverage, PolySharp) consistent with template update goals.
.config/dotnet-tools.json Updates pinned tool versions for pwsh and dotnet-coverage to match the template/tooling refresh.

@AArnott AArnott enabled auto-merge June 2, 2026 17:51
@AArnott AArnott merged commit ea7f346 into main Jun 2, 2026
9 checks passed
@AArnott AArnott deleted the dev/andarno/libtemplateUpdate branch June 2, 2026 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants