Skip to content

Merge latest Library.Template microbuild updates#1596

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

Merge latest Library.Template microbuild updates#1596
AArnott merged 23 commits into
mainfrom
aarnott/update-library-template

Conversation

@AArnott

@AArnott AArnott commented Jun 10, 2026

Copy link
Copy Markdown
Member

Summary

  • merge the latest microbuild updates from aarnott/Library.Template
  • resolve the Directory.Packages.props conflict by taking the incoming Microsoft.Testing.Platform version bump
  • normalize the Win7 watcher helper path so the existing test passes under the current test runner

Validation

  • dotnet restore
  • dotnet build tools/dirs.proj -t:build,pack,publish --no-restore -c Release
  • tools/dotnet-test-cloud.ps1 -Configuration Release

renovate Bot and others added 23 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 taking the incoming MicrosoftTestingPlatformVersion update from the template while preserving the repo's existing package baselines.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Normalize the helper executable path before calling Process.Start so the Win7 registry watcher test works under the current Microsoft.Testing.Platform runner.

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

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 microbuild-related updates from aarnott/Library.Template, updates several pinned tool/package versions, and includes a small test-path normalization to keep an existing Win7 watcher test passing under the current runner.

Changes:

  • Bumped SDK/tooling and central package versions (e.g., .NET SDK, Microsoft.Testing.Platform, PolySharp, dotnet-coverage, repo tool).
  • Normalized the Win7 watcher helper executable path in a test via Path.GetFullPath(...).
  • Updated GitHub Actions checkout pin to actions/checkout@... # v6.0.3 across workflows and added/updated contributor guidance and a repository skill doc.

Reviewed changes

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

Show a summary per file
File Description
tools/Install-DotNetSdk.ps1 Expands project/props discovery so runtime versions can be inferred from more MSBuild props inputs.
test/Microsoft.VisualStudio.Threading.Tests/AwaitExtensionsTests.cs Normalizes the helper exe path to an absolute path for more reliable execution under the test runner.
global.json Bumps the pinned .NET SDK patch version.
Directory.Packages.props Takes incoming central package version bumps (notably Microsoft.Testing.Platform and related dependencies).
CONTRIBUTING.md Adds a Testing section and adjusts link placement to better document validation options.
.github/workflows/libtemplate-update.yml Updates actions/checkout pin to v6.0.3.
.github/workflows/docs.yml Updates actions/checkout pin to v6.0.3.
.github/workflows/copilot-setup-steps.yml Updates actions/checkout pin to v6.0.3 for agent setup workflow.
.github/skills/bundle-dependency-prs/SKILL.md Adds a skill definition document for bundling dependency PRs.
.config/dotnet-tools.json Updates several local dotnet tool versions used by repo automation/dev workflows.

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