Merge latest Library.Template#279
Merged
Merged
Conversation
Now that official and unofficial pipelines are distinct, there's no real reason to avoid triggering an insertion with every official build.
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
The blob storage URLs will stop working, see dotnet/announcements#336
Use official URLs in Install-DotNetSdk.ps1
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>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Skip native binary PDB conversion
…emplate Specifically, this merges [63f8e20 from that repo](AArnott/Library.Template@63f8e20).
Update dependency docfx to v2.78.5
… (480) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
… (484) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…emplate Specifically, this merges [66c7b5d from that repo](AArnott/Library.Template@66c7b5d).
… dev/andarno/libtemplateUpdate
… dev/andarno/libtemplateUpdate
There was a problem hiding this comment.
Pull request overview
Updates this repository to the latest Library.Template, modernizing CI/CD, test infrastructure, and build tooling to align with current template practices.
Changes:
- Migrates test infrastructure toward Microsoft.Testing.Platform (MTP v2) + xunit v3 and adjusts test/coverage artifact collection.
- Updates Azure Pipelines and GitHub Actions agent pools, action pins, and related build/release/insertion workflows.
- Refreshes tooling/dependencies (global.json SDK bump, dotnet tools, central package versions) and removes legacy OptProf/VSInsertionMetadata plumbing.
Reviewed changes
Copilot reviewed 45 out of 45 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| tools/variables/ProfilingInputsPropsName.ps1 | New helper to compute OptProf profiling props filename for CI. |
| tools/dotnet-test-cloud.ps1 | Updates test execution to support MTP/vstest split, logs, and exit code handling. |
| tools/artifacts/testResults.ps1 | Adjusts repo root/test results pathing. |
| tools/artifacts/coverageResults.ps1 | Updates coverage discovery to include MTP output locations and token substitution. |
| tools/artifacts/VSInsertion.ps1 | Updates VS insertion artifact composition (adds insertion script + props artifact). |
| tools/Prepare-Legacy-Symbols.ps1 | Skips legacy PDB conversion for native binaries. |
| tools/Install-DotNetSdk.ps1 | Switches to official builds.dotnet.microsoft.com endpoints. |
| test/Microsoft.VisualStudio.Sdk.TestFramework.Xunit.v3.Tests/Microsoft.VisualStudio.Sdk.TestFramework.Xunit.v3.Tests.csproj | Opts into MTP dotnet-test support and updates xunit v3 runner package reference. |
| test/Microsoft.VisualStudio.Sdk.TestFramework.Xunit.Tests/Microsoft.VisualStudio.Sdk.TestFramework.Xunit.Tests.csproj | Adjusts MTP application setting for compatibility with mixed runners. |
| test/Directory.Build.targets | Adds MTP extensions and overrides MTP/VSTest interop behavior for .NET 10+. |
| test/Directory.Build.props | Enables UseMicrosoftTestingPlatformRunner for test projects. |
| src/VSInsertionMetadata/VSInsertionMetadata.targets | Removes legacy VS insertion metadata packaging targets. |
| src/VSInsertionMetadata/ProfilingInputs.props | Removes legacy profiling inputs props template file. |
| src/VSInsertionMetadata/Library.VSInsertionMetadata.proj | Removes legacy VS insertion metadata project. |
| src/OptProf.targets | Updates OptProf scenario configuration (removes VS repo-specific container metadata). |
| global.json | Updates .NET SDK version to 10.0.103. |
| azure-pipelines/vs-validation.yml | Updates pool/policy settings and adjusts insertion custom script command. |
| azure-pipelines/vs-insertion.yml | Drops auto-insertion tag behavior, updates pools/policies, and adds insertion custom script. |
| azure-pipelines/vs-insertion-script.ps1 | New script to copy OptProf-related props into the VS repo insertion PR. |
| azure-pipelines/unofficial.yml | Updates pools/policies and exclusions for signing validation. |
| azure-pipelines/schedule-only-steps.yml | Removes auto-insertion tagging step. |
| azure-pipelines/release.yml | Updates pools/policies for release pipeline. |
| azure-pipelines/prepare-insertion-stages.yml | Updates pool for insertion prep stages. |
| azure-pipelines/official.yml | Updates pools/policies and signing validation exclusions. |
| azure-pipelines/microbuild.before.yml | Removes OptProf plugin setup path and simplifies component governance step conditions. |
| azure-pipelines/microbuild.after.yml | Removes OptProf-specific artifact publishing steps. |
| azure-pipelines/libtemplate-update.yml | Updates network isolation policy setting. |
| azure-pipelines/dotnet.yml | Simplifies test invocation, updates Codecov token usage, and adjusts conditions. |
| azure-pipelines/build.yml | Updates default agent images and switches OptProf configuration to VS-provided pipeline/props flow. |
| azure-pipelines/archive-sourcecode.yml | Updates pools/policies for source archive pipeline. |
| azure-pipelines/OptProf_part2.yml | Removes legacy OptProf part2 pipeline. |
| azure-pipelines/OptProf.yml | Removes legacy OptProf pipeline. |
| azure-pipelines/Merge-CodeCoverage.ps1 | Adds verbose logging during coverage merge normalization. |
| azure-pipelines/BuildStageVariables.yml | Removes hard-coded Codecov token from variables. |
| Directory.Packages.props | Updates central package versions and introduces MTP-related package/version properties. |
| .github/workflows/libtemplate-update.yml | Updates actions/checkout pin to v6.0.2 digest. |
| .github/workflows/docs_validate.yml | Updates actions/checkout pin and Markup Link Checker (mlc) pin. |
| .github/workflows/docs.yml | Updates actions/checkout pin and deploy-pages version comment/pin. |
| .github/workflows/copilot-setup-steps.yml | Updates actions/checkout pin to v6.0.2 digest. |
| .github/prompts/update-library-template.prompt.md | Adds a reusable prompt describing how to merge Library.Template updates. |
| .github/prompts/template-release-notes.md | Adds template release notes to guide future merges (e.g., sln→slnx guidance). |
| .github/copilot-instructions.md | Updates Copilot guidance (Prime-ForCopilot + MTP/xunit v3 filtering guidance). |
| .github/actions/publish-artifacts/action.yaml | Updates upload-artifact pins to v7.0.0 digest. |
| .github/Prime-ForCopilot.ps1 | New helper to disable NBGV Git engine only when shallow-cloned. |
| .config/dotnet-tools.json | Updates dotnet tool versions (dotnet-coverage, docfx, nerdbank.dotnetrepotools). |
You can also share your feedback on Copilot code review. Take the survey.
Newrad0603
approved these changes
Mar 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
auto-insertiontag handlingvs-insertion-script.ps1from signing requirementsbomparameterdotnet-test-cloud.ps1