Skip to content

Merge latest Library.Template updates#370

Merged
AArnott merged 22 commits into
mainfrom
aarnott/library-template-update
Jun 10, 2026
Merged

Merge latest Library.Template updates#370
AArnott merged 22 commits into
mainfrom
aarnott/library-template-update

Conversation

@AArnott

@AArnott AArnott commented Jun 10, 2026

Copy link
Copy Markdown
Member

Summary

  • merge the latest Library.Template microbuild updates
  • resolve the Directory.Packages.props conflict by keeping repo-specific package pins and taking the incoming template version bumps
  • pick up the workflow, tooling, and docs updates from the template merge

Validation

  • dotnet restore
  • dotnet build -c Release --no-restore
  • tools/dotnet-test-cloud.ps1 -Configuration Release

renovate Bot and others added 22 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>
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>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update Dockerfile and global.json updates to v10.0.301

* Bump global.json too

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andrew Arnott <andrew.arnott@microsoft.com>
Resolve the Directory.Packages.props conflict by keeping the repo-specific Roslyn and test package version pins while taking the incoming template updates to Microsoft.Testing.Platform 2.2.3, CodeCoverage 18.7.0, and PolySharp 1.16.0.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 10, 2026 13:03
@AArnott AArnott enabled auto-merge June 10, 2026 13:03

Copilot AI left a comment

Copy link
Copy Markdown

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 merges the latest Library.Template updates into the repo, primarily refreshing SDK/tooling versions, dependency pins, and GitHub workflow references while resolving template merge conflicts.

Changes:

  • Bumped the pinned .NET SDK version in global.json and updated dependency/tool versions in Directory.Packages.props and .config/dotnet-tools.json.
  • Updated repo tooling/docs: improved runtime discovery inputs in Install-DotNetSdk.ps1 and added testing guidance to CONTRIBUTING.md.
  • Refreshed workflow action pinning to actions/checkout@v6.0.3 and added a new GitHub skill doc.

Reviewed changes

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

Show a summary per file
File Description
tools/Install-DotNetSdk.ps1 Refactors how project/props files are gathered for runtime version discovery.
global.json Updates the pinned .NET SDK patch version.
Directory.Packages.props Updates template-aligned package/version pins (MTP, code coverage, PolySharp).
CONTRIBUTING.md Adds a dedicated testing section and documents dotnet-test-cloud.ps1 usage.
.github/workflows/libtemplate-update.yml Updates pinned actions/checkout commit to v6.0.3.
.github/workflows/docs.yml Updates pinned actions/checkout commit to v6.0.3.
.github/workflows/copilot-setup-steps.yml Updates pinned actions/checkout commit to v6.0.3.
.github/skills/bundle-dependency-prs/SKILL.md Adds a skill document for bundling dependency PRs.
.config/dotnet-tools.json Updates pinned tool versions (PowerShell, dotnet-coverage, repo tools).

@AArnott AArnott merged commit 85a5d0e into main Jun 10, 2026
11 checks passed
@AArnott AArnott deleted the aarnott/library-template-update branch June 10, 2026 16:42
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