Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
c8fa888
Drop `auto-insertion` tag handling
AArnott Nov 17, 2025
e95eb88
Update actions/checkout digest to 93cb6ef
renovate[bot] Nov 17, 2025
91ee72e
Replace hard-coded codecov_token with secrets/variables
AArnott Nov 17, 2025
028d93f
Merge branch 'main' into microbuild
AArnott Nov 17, 2025
32a3cdd
Update actions/checkout action to v6 (443)
renovate[bot] Nov 20, 2025
585a2df
Use official URLs in Install-DotNetSdk.ps1
akoeplinger Nov 21, 2025
7357a05
Merge pull request 444 from akoeplinger:patch-1
AArnott Nov 22, 2025
1439223
Update dependency xunit.v3 to 3.2.1 (445)
renovate[bot] Nov 29, 2025
923e36d
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Nov 29, 2025
5a412a0
Switch out our own OptProf profiling pipeline for the VS one
AArnott Dec 2, 2025
a23eb8d
Merge pull request 447 to Build on newer agents
AArnott Dec 2, 2025
1c972c1
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Dec 2, 2025
064bff7
Update actions/checkout digest to 8e8c483 (448)
renovate[bot] Dec 2, 2025
35aa4d1
Update actions/checkout digest
renovate[bot] Dec 2, 2025
498462f
Build on VS2026 agents
AArnott Dec 2, 2025
26355f2
Better pinning of GitHub Actions
AArnott Dec 2, 2025
76b0a4a
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Dec 2, 2025
5ded58b
Update actions/checkout action to v6.0.1 (449)
renovate[bot] Dec 2, 2025
4548135
Exclude `vs-insertion-script.ps1` from signing requirement
AArnott Dec 2, 2025
9a6d745
Update actions/deploy-pages action to v4.0.5 (450)
renovate[bot] Dec 2, 2025
5beff92
Skip SBOM generation for the vs-insertion pipeline
AArnott Dec 3, 2025
89853ca
Remove stray backtick from README
AArnott Dec 3, 2025
4001958
Update NuGet/login action to v1.1.0 (451)
renovate[bot] Dec 3, 2025
352ae49
Merge branch 'validate/vs2026' into microbuild
AArnott Dec 3, 2025
a37c555
Merge remote-tracking branch 'origin/centralized-optprof' into microb…
AArnott Dec 4, 2025
b09c6e5
Remove vs-threading specific change
AArnott Dec 4, 2025
fe54aae
Remove stale comment
AArnott Dec 4, 2025
397e3e9
Update actions/checkout action to v6.0.1
renovate[bot] Dec 4, 2025
c2ee756
Fix alignment of `sbom` parameter
AArnott Dec 4, 2025
32b482a
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Dec 4, 2025
abb8f74
Fix template expansion
AArnott Dec 5, 2025
fddc013
Opt into Microsoft Testing Platform (MTP) (#452)
AArnott Dec 7, 2025
f761f0f
Push to nuget.org before pushing to github release
AArnott Dec 7, 2025
e403560
Update to MTP v2 (#455)
AArnott Dec 7, 2025
a28d540
Update all MTP related packages at once (457)
AArnott Dec 7, 2025
f355f00
Fix test result publishing to AzDO (458)
AArnott Dec 7, 2025
3304d79
Update .NET SDK to v10.0.101 (#459)
renovate[bot] Dec 10, 2025
63de086
Drop package dependencies that MTP does not require
AArnott Dec 10, 2025
70e71e9
Merge pull request #460 from AArnott/dropOldDependencies
AArnott Dec 10, 2025
70980c3
Fix MTP test failure for MTP-incompatible projects under the test folder
AArnott Dec 10, 2025
07aab27
Merge remote-tracking branch 'origin/main' into microbuild_mtp
AArnott Dec 11, 2025
307d5e3
Fix testing regression from last commit
AArnott Dec 11, 2025
3eb31c2
Merge branch 'main' into microbuild_mtp
AArnott Dec 11, 2025
5c9d625
Adjust how we use IsTestProject
AArnott Dec 11, 2025
a352939
Merge branch 'main' into microbuild_mtp
AArnott Dec 11, 2025
762bd46
Expand applicability of extra args in `dotnet-test-cloud.ps1`
AArnott Dec 11, 2025
650dac0
Merge the microbuild branch from https://github.com/aarnott/Library.T…
AArnott Dec 11, 2025
25c8c0d
Update becheran/mlc action to v1.1.0 (461)
renovate[bot] Dec 12, 2025
6dc6965
Update GitHub Artifact Actions (462)
renovate[bot] Dec 13, 2025
36de3c8
Update becheran/mlc action to v1.2.0 (463)
renovate[bot] Dec 14, 2025
6b1ad3c
Preserve exit codes better and organize switches
AArnott Dec 20, 2025
86545b6
Skip native binary PDB conversion
Charles-Gagnon Dec 28, 2025
57248c7
Fix case sensitivity in dotnet-test-cloud
AArnott Jan 5, 2026
a385e05
Bump code coverage package/tool
AArnott Jan 5, 2026
961b025
Update becheran/mlc action to v1.2.0
AArnott Jan 5, 2026
cb87045
Merge pull request #467 from AArnott/fixCaseSensitivity
AArnott Jan 5, 2026
c3644df
Merge pull request #468 from AArnott/bumpDeps
AArnott Jan 5, 2026
94ab8ac
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Jan 7, 2026
c7b72fb
Update dependency Microsoft.Testing.Extensions.CodeCoverage to 18.3.2
renovate[bot] Jan 9, 2026
9870d10
Update dependency dotnet-coverage to v18.3.2 (465)
renovate[bot] Jan 12, 2026
53f97d6
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Jan 12, 2026
82fb1dd
Merge pull request 466 from AArnott/renovate/microsoft-testing-platform
AArnott Jan 12, 2026
c35e57f
Merge pull request 469 from AArnott/copilot/port-change-to-library-te…
AArnott Jan 12, 2026
169c608
Fix copilot instructions regarding test project suffix
AArnott Jan 12, 2026
3ee226c
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Jan 13, 2026
e989a4c
Update .NET SDK to v10.0.102 (471)
renovate[bot] Jan 14, 2026
bcc0151
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Jan 14, 2026
901b22d
Fix FailsInCloudTest filter after MTPv2 migration
AArnott Jan 16, 2026
ffbb599
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Jan 16, 2026
918803f
Update dependency xunit.v3.mtp-v2 to 3.2.2 (472)
renovate[bot] Jan 24, 2026
689415e
Update actions/checkout action to v6.0.2 (#473)
renovate[bot] Jan 24, 2026
a5adcc7
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Jan 27, 2026
8b62459
Update Microsoft Testing Platform (475)
renovate[bot] Feb 3, 2026
11e9554
Update dependency dotnet-coverage to v18.4.1 (474)
renovate[bot] Feb 3, 2026
4121aa3
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Feb 3, 2026
d10df4b
Update mcr.microsoft.com/dotnet/sdk:10.0.102 Docker digest to 6ba533c…
renovate[bot] Feb 5, 2026
c8b42f2
Add Copilot prompt to automate Library.Template updates
AArnott Feb 9, 2026
7a476f4
Merge branch 'main' into microbuild
AArnott Feb 9, 2026
98ba7d5
Fix test filter
AArnott Feb 9, 2026
239883a
Merge branch 'main' into microbuild
AArnott Feb 9, 2026
1632266
Update actions/checkout action to v6.0.2
AArnott Feb 9, 2026
8f317e6
Improve library.template merge AI prompt
AArnott Feb 10, 2026
3d4938d
Merge branch 'main' into microbuild
AArnott Feb 10, 2026
ca9f8e9
Update Dockerfile and global.json updates to v10.0.103 (477)
renovate[bot] Feb 11, 2026
a3cce81
Merge branch 'main' into microbuild
AArnott Feb 11, 2026
467ef6d
Explain how to migrate sln to slnx
AArnott Feb 11, 2026
6260fa6
Merge branch 'main' into microbuild
AArnott Feb 11, 2026
04993f6
Update mcr.microsoft.com/dotnet/sdk:10.0.103 Docker digest to 0a506ab…
renovate[bot] Feb 11, 2026
54a80db
Update dependency nerdbank.dotnetrepotools to v1.1.1 (479)
renovate[bot] Feb 12, 2026
ae01994
Merge branch 'main' into microbuild
AArnott Feb 17, 2026
41493c6
Use forward slash in md files
AArnott Feb 17, 2026
6dfee58
Touch-up custom prompt
AArnott Feb 17, 2026
a2a0236
Merge branch 'main' into microbuild
AArnott Feb 18, 2026
4d1026d
Update network isolation policy
AArnott Feb 18, 2026
3afde79
Merge pull request #464 from Charles-Gagnon/patch-1
AArnott Feb 21, 2026
6103b65
Only disable NBGV_GitEngine when necessary
AArnott Feb 23, 2026
63f8e20
Merge branch 'main' into microbuild
AArnott Feb 23, 2026
5962ec2
Merge the microbuild branch from https://github.com/aarnott/Library.T…
AArnott Feb 23, 2026
1391df4
Update Testing framework
renovate[bot] Feb 23, 2026
60e6e07
Fix package downgrade warnings
AArnott Feb 23, 2026
a19aacc
Update Visual Studio SDK
renovate[bot] Feb 24, 2026
c04c3a8
Merge pull request 481 from AArnott/renovate/docfx-2.x
renovate[bot] Feb 24, 2026
f4c9c81
Update mcr.microsoft.com/dotnet/sdk:10.0.103 Docker digest to e362a8d…
renovate[bot] Feb 24, 2026
a9b48e1
Update dependency dotnet-coverage to v18.5.1 (483)
renovate[bot] Feb 27, 2026
8242097
Update dependency Microsoft.Testing.Extensions.CodeCoverage to 18.5.1…
renovate[bot] Feb 27, 2026
2960fc5
Update GitHub Artifact Actions (482)
renovate[bot] Feb 27, 2026
582d263
Bump DotNetRepoTools to 1.2.1
AArnott Feb 28, 2026
e11be84
Merge branch 'main' into microbuild
AArnott Feb 28, 2026
8f5f090
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Mar 2, 2026
85514fa
Update dependency Microsoft.Testing.Extensions.CodeCoverage to 18.5.2…
renovate[bot] Mar 5, 2026
ebc3570
Update dependency dotnet-coverage to v18.5.2 (485)
renovate[bot] Mar 5, 2026
66c7b5d
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Mar 5, 2026
5dd1657
Merge the microbuild branch from https://github.com/aarnott/Library.T…
AArnott Mar 6, 2026
6613b36
Fix `dotnet test` after MTPv2 update
AArnott Mar 6, 2026
5e8d114
Merge remote-tracking branch 'origin/renovate/testing-framework' into…
AArnott Mar 6, 2026
04daebd
Merge remote-tracking branch 'origin/renovate/visual-studio-sdk' into…
AArnott Mar 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"rollForward": false
},
"dotnet-coverage": {
"version": "18.1.0",
"version": "18.5.2",
"commands": [
"dotnet-coverage"
],
Expand All @@ -24,18 +24,18 @@
"rollForward": false
},
"docfx": {
"version": "2.78.4",
"version": "2.78.5",
"commands": [
"docfx"
],
"rollForward": false
},
"nerdbank.dotnetrepotools": {
"version": "1.0.92",
"version": "1.2.1",
"commands": [
"repo"
],
"rollForward": false
}
}
}
}
5 changes: 5 additions & 0 deletions .github/Prime-ForCopilot.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
if ((git rev-parse --is-shallow-repository) -eq 'true')
{
Write-Host "Shallow clone detected, disabling NBGV Git engine so the build can succeed."
$env:NBGV_GitEngine='Disabled'
}
14 changes: 7 additions & 7 deletions .github/actions/publish-artifacts/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,46 +14,46 @@ runs:

- name: 📢 Upload project.assets.json files
if: always()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: projectAssetsJson-${{ runner.os }}
path: ${{ runner.temp }}/_artifacts/projectAssetsJson
continue-on-error: true
- name: 📢 Upload variables
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: variables-${{ runner.os }}
path: ${{ runner.temp }}/_artifacts/Variables
continue-on-error: true
- name: 📢 Upload build_logs
if: always()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: build_logs-${{ runner.os }}
path: ${{ runner.temp }}/_artifacts/build_logs
continue-on-error: true
- name: 📢 Upload testResults
if: always()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: testResults-${{ runner.os }}
path: ${{ runner.temp }}/_artifacts/testResults
continue-on-error: true
- name: 📢 Upload coverageResults
if: always()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: coverageResults-${{ runner.os }}
path: ${{ runner.temp }}/_artifacts/coverageResults
continue-on-error: true
- name: 📢 Upload symbols
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: symbols-${{ runner.os }}
path: ${{ runner.temp }}/_artifacts/symbols
continue-on-error: true
- name: 📢 Upload deployables
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: deployables-${{ runner.os }}
path: ${{ runner.temp }}/_artifacts/deployables
Expand Down
68 changes: 64 additions & 4 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
## High level guidance

* Review the `CONTRIBUTING.md` file for instructions to build and test the software.
* Set the `NBGV_GitEngine` environment variable to `Disabled` before running any `dotnet` or `msbuild` commands.
* Run the `.github\Prime-ForCopilot.ps1` script (once) before running any `dotnet` or `msbuild` commands.
If you see any build errors about not finding git objects or a shallow clone, it may be time to run this script again.

## Software Design

Expand All @@ -12,9 +13,68 @@

## Testing

* There should generally be one test project (under the `test` directory) per shipping project (under the `src` directory). Test projects are named after the project being tested with a `.Test` suffix.
* Tests should use the Xunit testing framework.
* Some tests are known to be unstable. When running tests, you should skip the unstable ones by running `dotnet test --filter "TestCategory!=FailsInCloudTest"`.
**IMPORTANT**: This repository uses Microsoft.Testing.Platform (MTP v2) with xunit v3. Traditional `--filter` syntax does NOT work. Use the options below instead.

* There should generally be one test project (under the `test` directory) per shipping project (under the `src` directory). Test projects are named after the project being tested with a `.Tests` suffix.
* Tests use xunit v3 with Microsoft.Testing.Platform (MTP v2). Traditional VSTest `--filter` syntax does NOT work.
* Some tests are known to be unstable. When running tests, you should skip the unstable ones by using `-- --filter-not-trait "FailsInCloudTest=true"`.

### Running Tests

**Run all tests**:
```bash
dotnet test --no-build -c Release
```

**Run tests for a specific test project**:
```bash
dotnet test --project test/Library.Tests/Library.Tests.csproj --no-build -c Release
```

**Run a single test method**:
```bash
dotnet test --project test/Library.Tests/Library.Tests.csproj --no-build -c Release -- --filter-method ClassName.MethodName
```

**Run all tests in a test class**:
```bash
dotnet test --project test/Library.Tests/Library.Tests.csproj --no-build -c Release -- --filter-class ClassName
```

**Run tests with wildcard matching** (supports wildcards at beginning and/or end):
```bash
dotnet test --project test/Library.Tests/Library.Tests.csproj --no-build -c Release -- --filter-method "*Pattern*"
```

**Run tests with a specific trait** (equivalent to category filtering):
```bash
dotnet test --project test/Library.Tests/Library.Tests.csproj --no-build -c Release -- --filter-trait "TraitName=value"
```

**Exclude tests with a specific trait** (skip unstable tests):
```bash
dotnet test --project test/Library.Tests/Library.Tests.csproj --no-build -c Release -- --filter-not-trait "TestCategory=FailsInCloudTest"
```

**Run tests for a specific framework only**:
```bash
dotnet test --project test/Library.Tests/Library.Tests.csproj --no-build -c Release --framework net9.0
```

**List all available tests without running them**:
```bash
cd test/Library.Tests
dotnet run --no-build -c Release --framework net9.0 -- --list-tests
```

**Key points about test filtering with MTP v2 / xunit v3**:
- Options after `--` are passed to the test runner, not to `dotnet test`
- Use `--filter-method`, `--filter-class`, `--filter-namespace` for simple filtering
- Use `--filter-trait` and `--filter-not-trait` for trait-based filtering (replaces `--filter "TestCategory=..."`)
- Traditional VSTest `--filter` expressions do NOT work
- Wildcards `*` are supported at the beginning and/or end of filter values
- Multiple simple filters of the same type use OR logic, different types combine with AND
- See `--help` for query filter language for advanced scenarios

## Coding style

Expand Down
20 changes: 20 additions & 0 deletions .github/prompts/template-release-notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Template release notes

This file will describe significant changes in Library.Template as they are introduced, especially if they require special consideration when merging updates into existing repos.
This file is referenced by update-library-template.prompt.md and should remain in place to facilitate future merges, whether done manually or by AI.

## Solution rename

Never leave a Library.slnx file in the repository.
You might even see one there even though this particular merge didn't bring it in.
This can be an artifact of having renamed Library.sln to Library.slnx in the template repo, but ultimately the receiving repo should have only one .sln or .slnx file, with a better name than `Library`.
Delete any `Library.slnx` that you see.
Migrate an `.sln` in the repo root to `.slnx` using this command:

```ps1
dotnet solution EXISTING.sln migrate
```

This will create an EXISTING.slnx file. `git add` that file, then `git rm` the old `.sln` file.
Sometimes a repo will reference the sln filename in a script or doc somewhere.
Search the repo for such references and update them to the slnx file.
65 changes: 65 additions & 0 deletions .github/prompts/update-library-template.prompt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
---
description: Merges the latest Library.Template into this repo (at position of HEAD) and resolves conflicts.
---

# Instructions

1. Run `tools/MergeFrom-Template.ps1`
2. Resolve merge conflicts, taking into account conflict resolution policy below.
3. Validate the changes, as described in the validation section below.
4. Committing your changes (if applicable).

## Conflict resolution policy

There may be special notes in `.github/prompts/template-release-notes.md` that describe special considerations for certain files or scenarios to help you resolve conflicts appropriately.
Always refer to that file before proceeding.
In particular, focus on the *incoming* part of the file, since it represents the changes from the Library.Template that you are merging into your repo.

Also consider that some repos choose to reject certain Library.Template patterns.
For example the template uses MTPv2 for test projects, but a repo might have chosen not to adopt that.
When resolving merge conflicts, consider whether it looks like the relevant code file is older than it should be given the changes the template is bringing in.
Ask the user when in doubt as to whether the conflict should be resolved in favor of 'catching up' with the template or keeping the current changes.

Use #runSubagent to analyze and resolve merge conflicts across files in parallel.

### Keep Current files

Conflicts in the following files should always be resolved by keeping the current version (i.e. discard incoming changes):

* README.md

### Deleted files

Very typically, when the incoming change is to a file that was deleted locally, the correct resolution is to re-delete the file.

In some cases however, the deleted file may have incoming changes that should be applied to other files.
The `test/Library.Tests/Library.Tests.csproj` file is very typical of this.
Changes to this file should very typically be applied to any and all test projects in the repo.
You are responsible for doing this in addition to re-deleting this template file.

## Validation

Validate the merge result (after resolving any conflicts, if applicable).
Use #runSubagent for each step.

1. Verify that `dotnet restore` succeeds. Fix any issues that come up.
2. Verify that `dotnet build` succeeds.
3. Verify that tests succeed by running `tools/dotnet-test-cloud.ps1`.

While these validations are described using `dotnet` CLI commands, some repos require using full msbuild.exe.
You can detect this by checking the `azure-pipelines/dotnet.yml` or `.github/workflows/build.yml` files for use of one or the other tool.

You are *not* responsible for fixing issues that the merge did not cause.
If validation fails for reasons that seem unrelated to the changes brought in by the merge, advise the user and ask how they'd like you to proceed.
That said, sometimes merges will bring in SDK or dependency updates that can cause breaks in seemingly unrelated areas.
In such cases, you should investigate and solve the issues as needed.

## Committing your changes

If you have to make any changes for validations to pass, consider whether they qualify as a bad merge conflict resolution or more of a novel change that you're making to work with the Library.Template update.
Merge conflict resolution fixes ideally get amended into the merge commit, while novel changes would go into a novel commit after the merge commit.

Always author your commits using `git commit --author "🤖 Copilot <no-reply@github.com>"` (and possibly other parameters).
Describe the nature of the merge conflicts you encountered and how you resolved them in your commit message.

Later, if asked to review pull request validation breaks, always author a fresh commit with each fix that you push, unless the user directs you to do otherwise.
2 changes: 1 addition & 1 deletion .github/workflows/copilot-setup-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# You can define any steps you want, and they will run before the agent starts.
# If you do not check out your code, Copilot will do this for you.
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
- name: ⚙ Install prerequisites
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
- name: ⚙ Install prerequisites
Expand All @@ -40,4 +40,4 @@ jobs:

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
4 changes: 2 additions & 2 deletions .github/workflows/docs_validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
name: 📚 Doc validation
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
- name: 🔗 Markup Link Checker (mlc)
uses: becheran/mlc@18a06b3aa2901ca197de59c8b0b1f54fdba6b3fa # v1.0.0
uses: becheran/mlc@7ec24825cefe0c9c8c6bac48430e1f69e3ec356e # v1.2.0
with:
args: --do-not-warn-for-redirect-to https://learn.microsoft.com*,https://dotnet.microsoft.com/*,https://dev.azure.com/*,https://app.codecov.io/* -p docfx -i https://aka.ms/onboardsupport,https://aka.ms/spot,https://msrc.microsoft.com/*,https://www.microsoft.com/msrc*,https://microsoft.com/msrc*,https://www.npmjs.com/package/*,https://get.dot.net/,https://dev.azure.com/devdiv/*
- name: ⚙ Install prerequisites
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/libtemplate-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.

Expand Down
27 changes: 16 additions & 11 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,34 @@
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
<MicrosoftTestingPlatformVersion>2.1.0</MicrosoftTestingPlatformVersion>

<MicroBuildVersion>2.0.208</MicroBuildVersion>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="MessagePack" Version="2.5.198" />
<PackageVersion Include="Microsoft.VisualStudio.Composition" Version="17.12.20" />
<PackageVersion Include="Microsoft.VisualStudio.Interop" Version="17.13.40008" />
<PackageVersion Include="Microsoft.VisualStudio.SDK.Analyzers" Version="17.7.47" />
<PackageVersion Include="Microsoft.VisualStudio.Shell.15.0" Version="17.13.40008" />
<PackageVersion Include="Microsoft.VisualStudio.Utilities" Version="17.13.40008" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
<PackageVersion Include="Microsoft.VisualStudio.Composition" Version="17.13.41" />
<PackageVersion Include="Microsoft.VisualStudio.Interop" Version="17.14.40260" />
<PackageVersion Include="Microsoft.VisualStudio.SDK.Analyzers" Version="17.7.79" />
<PackageVersion Include="Microsoft.VisualStudio.Shell.15.0" Version="17.14.40264" />
<PackageVersion Include="Microsoft.VisualStudio.Utilities" Version="17.14.40264" />
<PackageVersion Include="Microsoft.ServiceHub.Framework.Testing" Version="4.8.55" />
<PackageVersion Include="NSubstitute" Version="5.3.0" />
<PackageVersion Include="System.ComponentModel.Composition" Version="9.0.13" />
<PackageVersion Include="Xunit.SkippableFact" Version="1.5.23" />
<PackageVersion Include="Xunit.SkippableFact" Version="1.5.61" />
<PackageVersion Include="xunit" Version="2.9.3" />
<PackageVersion Include="xunit.v3.assert" Version="3.2.0" />
<PackageVersion Include="xunit.v3.extensibility.core" Version="3.2.0" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5" />
<PackageVersion Include="xunit.v3.assert" Version="3.2.2" />
<PackageVersion Include="xunit.v3.extensibility.core" Version="3.2.2" />
</ItemGroup>
<ItemGroup Label="Library.Template">
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
<PackageVersion Include="Microsoft.Testing.Extensions.CodeCoverage" Version="18.5.2" />
<PackageVersion Include="Microsoft.Testing.Extensions.CrashDump" Version="$(MicrosoftTestingPlatformVersion)" />
<PackageVersion Include="Microsoft.Testing.Extensions.HangDump" Version="$(MicrosoftTestingPlatformVersion)" />
<PackageVersion Include="Microsoft.Testing.Extensions.TrxReport" Version="$(MicrosoftTestingPlatformVersion)" />
<PackageVersion Include="Microsoft.VisualStudio.Internal.MicroBuild.NonShipping" Version="$(MicroBuildVersion)" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5" />
<PackageVersion Include="xunit.v3" Version="3.2.0" />
<PackageVersion Include="xunit.v3.mtp-v2" Version="3.2.2" />
</ItemGroup>
<ItemGroup>
<!-- Put repo-specific GlobalPackageReference items in this group. -->
Expand Down
1 change: 0 additions & 1 deletion azure-pipelines/BuildStageVariables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ variables:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
BuildConfiguration: Release
NUGET_PACKAGES: $(Agent.TempDirectory)/.nuget/packages/
# codecov_token: 4dc9e7e2-6b01-4932-a180-847b52b43d35 # Get a new one from https://codecov.io/
1 change: 1 addition & 0 deletions azure-pipelines/Merge-CodeCoverage.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ try {
if ($reports) {
$reports |% { $_.FullName } |% {
# In addition to replacing {reporoot}, we also normalize on one kind of slash so that the report aggregates data for a file whether data was collected on Windows or not.
Write-Verbose "Processing $_"
$xml = [xml](Get-Content -LiteralPath $_)
$xml.coverage.packages.package.classes.class |? { $_.filename} |% {
$_.filename = $_.filename.Replace('{reporoot}', $RepoRoot).Replace([IO.Path]::AltDirectorySeparatorChar, [IO.Path]::DirectorySeparatorChar)
Expand Down
Loading