Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
86545b6
Skip native binary PDB conversion
Charles-Gagnon Dec 28, 2025
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
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
66c7b5d
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Mar 5, 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
e4a2493
Fix warning message
AArnott Mar 6, 2026
41b6a21
Fix Prime-ForCopilot.ps1 when invoked from outside the repo
AArnott Mar 6, 2026
2e49a12
Use forward slashes consistently in docs
AArnott Mar 6, 2026
62a1ccc
Avoid assigning to an unused variable
AArnott Mar 6, 2026
94866fa
Merge branch 'main' into microbuild
AArnott Mar 6, 2026
0a7200a
Avoid returning early while preparing legacy symbols
AArnott Mar 6, 2026
c7a68ba
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Mar 11, 2026
7d4a9ec
Update Dockerfile and global.json updates to v10.0.200 (487)
renovate[bot] Mar 11, 2026
c20fa1a
Update dependency powershell to v7.5.5 (#489)
renovate[bot] Mar 12, 2026
56dfa06
Update actions/download-artifact action to v8.0.1 (488)
renovate[bot] Mar 12, 2026
b58cafc
Update Dockerfile and global.json updates to v10.0.201 (490)
renovate[bot] Mar 14, 2026
326764f
Update dependency powershell to v7.6.0 (#491)
renovate[bot] Mar 19, 2026
330fbbe
Update actions/deploy-pages action to v5 (492)
renovate[bot] Mar 25, 2026
c7e63e7
Harden path joining in VSInsertion.ps1
AArnott Mar 30, 2026
1378943
Merge branch 'main' into microbuild
AArnott Mar 30, 2026
2106ee9
Update mcr.microsoft.com/dotnet/sdk:10.0.201 Docker digest to f061e5a…
renovate[bot] Apr 4, 2026
3c72508
Harden release workflow to use better runs
AArnott Apr 6, 2026
f398bec
Fix the build status badge
AArnott Apr 6, 2026
9039634
Switch from using nuget.exe to dotnet cli commands (#494)
AndreyTretyak Apr 6, 2026
fdf68c5
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Apr 7, 2026
3ae7b3f
Fix Expand-Template
AArnott Apr 7, 2026
84648ad
Merge branch 'main' into microbuild
AArnott Apr 7, 2026
8f9002c
Update Microsoft Testing Platform to 2.2.1 (497)
renovate[bot] Apr 7, 2026
eca7d56
Update dependency dotnet-coverage to v18.6.2
AArnott Apr 7, 2026
4266d52
Update dependency Microsoft.Testing.Extensions.CodeCoverage to v18.6.2
AArnott Apr 7, 2026
58c98c4
Remove usage of old NuGet tools (#496)
AndreyTretyak Apr 7, 2026
8075c3f
Use default configuration for Network Isolation
AndreyTretyak Apr 7, 2026
8a1503e
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Apr 7, 2026
bfd1303
Merge pull request #500 from AndreyTretyak/dev/andreyt/default-networ…
AArnott Apr 7, 2026
dee711b
Bump MicroBuildVersion to 2.0.226
AArnott Apr 10, 2026
29fe9fa
Update dependency nerdbank.dotnetrepotools to v1.3.1 (#501)
renovate[bot] Apr 10, 2026
5732a7f
Update mcr.microsoft.com/dotnet/sdk:10.0.201 Docker digest to 127d7d4…
renovate[bot] Apr 10, 2026
1d433b8
Update actions/upload-artifact action to v7.0.1 (503)
renovate[bot] Apr 10, 2026
ab3f99d
Update actions/upload-pages-artifact action to v5 (504)
renovate[bot] Apr 10, 2026
7163e58
Update dependency nerdbank.dotnetrepotools to v1.3.13 (505)
renovate[bot] Apr 11, 2026
54db0f8
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Apr 13, 2026
41a316f
Update Dockerfile and global.json updates to v10.0.202 (506)
renovate[bot] Apr 15, 2026
863f9e1
Throw on Download-NuGetPackage errors
AArnott Apr 15, 2026
a8db2fc
Rename variable for better consistency
AArnott Apr 15, 2026
b83fca4
Defend against exceptions thrown from `Download-NugetPackage.ps1`
AArnott Apr 15, 2026
a871231
Add missing `dotnet symbol` command to manifest
AArnott Apr 15, 2026
a9956c4
Improve resilience of fetching PackageVersion items
AArnott Apr 15, 2026
b9fdfc7
Avoid re-unzipping downloaded symbol packages
AArnott Apr 15, 2026
fd7d87e
Avoid stomping on LASTEXITCODE while simply trying to reset it
AArnott Apr 15, 2026
11f522e
Throw on Download-NuGetPackage errors (#507)
AArnott Apr 15, 2026
86ad5cd
Fix init.ps1 installation of local microbuild plugins
AArnott Apr 15, 2026
2b56eaa
Merge remote-tracking branch 'origin/main' into code-review-fixes-mic…
AArnott Apr 15, 2026
1f9ec24
Don't download a nuget package twice
AArnott Apr 15, 2026
f1de0ce
Don't assume unpacked structure in Convert-PDB.ps1
AArnott Apr 15, 2026
cb09f6d
Improve `dotnet symbol` performance
AArnott Apr 15, 2026
fdd1b12
Call out when package versions are missing
AArnott Apr 15, 2026
d35c527
Merge pull request #508 from AArnott/code-review-fixes-microbuild
AArnott Apr 15, 2026
3453297
Use `dotnet-symbols` 9.0.661903 (the latest public version)
AArnott Apr 15, 2026
6fd4c22
Fix references to undefined variables
AArnott Apr 15, 2026
710ab01
Simplify ps1 syntax
AArnott Apr 15, 2026
5c12a14
Defend against filename-only output paths
AArnott Apr 15, 2026
4738c2b
Drop `SupportsShouldProcess` from `Get-ExternalSymbolFiles.ps1`
AArnott Apr 15, 2026
44ed582
Use `dotnet msbuild` for `-getItem` parameters
AArnott Apr 15, 2026
e62e0e7
Use -LiteralPath where appropriate
AArnott Apr 15, 2026
9ee0ec1
Use Join-Path
AArnott Apr 15, 2026
ea91d46
Add missing `dotnet symbol` command to manifest
AArnott Apr 15, 2026
6c44b30
Merge branch 'main' into microbuild
AArnott Apr 15, 2026
b547bed
Backport fixes from microbuild branch
AArnott Apr 15, 2026
c055717
Merge branch 'main' into microbuild
AArnott Apr 15, 2026
79f3d9a
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Apr 16, 2026
0a9483f
Update dependency nerdbank.dotnetrepotools to v1.3.22 (509)
renovate[bot] Apr 16, 2026
9ad206a
Switch AI-assisted merging from a prompt to a skill
AArnott Apr 22, 2026
f3742aa
Update dependency powershell to v7.6.1 (510)
renovate[bot] Apr 22, 2026
142a3e6
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Apr 22, 2026
17e9184
Update Dockerfile and global.json updates to v10.0.203 (511)
renovate[bot] Apr 22, 2026
203696c
Use safer `ToLower` variant for package IDs
AArnott Apr 22, 2026
cbf54de
Update NuGet/login action to v1.2.0 (512)
renovate[bot] Apr 26, 2026
81a01d8
Ignore C# Dev Kit generated cache files
AArnott Apr 29, 2026
9b6fb49
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Apr 29, 2026
16dd4d1
Update Microsoft Testing Platform to 2.2.2 (514)
renovate[bot] Apr 30, 2026
c45366d
Merge remote-tracking branch 'origin/main' into microbuild
AArnott May 4, 2026
df9e05a
Update dependency nerdbank.dotnetrepotools to v1.4.1 (515)
renovate[bot] May 9, 2026
aa6e14a
Update Dockerfile and global.json updates to v10.0.300 (516)
renovate[bot] May 13, 2026
38fa0d7
Merge remote-tracking branch 'origin/main' into microbuild
AArnott May 13, 2026
15edc15
Merge Library.Template microbuild updates
invalid-email-address May 13, 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
15 changes: 11 additions & 4 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"isRoot": true,
"tools": {
"powershell": {
"version": "7.5.4",
"version": "7.6.1",
"commands": [
"pwsh"
],
"rollForward": false
},
"dotnet-coverage": {
"version": "18.4.1",
"version": "18.6.2",
"commands": [
"dotnet-coverage"
],
Expand All @@ -24,18 +24,25 @@
"rollForward": false
},
"docfx": {
"version": "2.78.4",
"version": "2.78.5",
"commands": [
"docfx"
],
"rollForward": false
},
"nerdbank.dotnetrepotools": {
"version": "1.0.92",
"version": "1.4.1",
"commands": [
"repo"
],
"rollForward": false
},
"dotnet-symbol": {
"version": "9.0.661903",
"commands": [
"dotnet-symbol"
],
"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 -C $PSScriptRoot 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@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: projectAssetsJson-${{ runner.os }}
path: ${{ runner.temp }}/_artifacts/projectAssetsJson
continue-on-error: true
- name: 📢 Upload variables
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: variables-${{ runner.os }}
path: ${{ runner.temp }}/_artifacts/Variables
continue-on-error: true
- name: 📢 Upload build_logs
if: always()
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
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@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: testResults-${{ runner.os }}
path: ${{ runner.temp }}/_artifacts/testResults
continue-on-error: true
- name: 📢 Upload coverageResults
if: always()
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: coverageResults-${{ runner.os }}
path: ${{ runner.temp }}/_artifacts/coverageResults
continue-on-error: true
- name: 📢 Upload symbols
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: symbols-${{ runner.os }}
path: ${{ runner.temp }}/_artifacts/symbols
continue-on-error: true
- name: 📢 Upload deployables
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: deployables-${{ runner.os }}
path: ${{ runner.temp }}/_artifacts/deployables
Expand Down
3 changes: 2 additions & 1 deletion .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 Down
4 changes: 0 additions & 4 deletions .github/prompts/template-release-notes.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
---
name: update-library-template
description: Merges the latest Library.Template into this repo (at position of HEAD) and resolves conflicts.
disable-model-invocation: true
---

# Instructions

1. Run `tools\MergeFrom-Template.ps1`
1. Run `./tools/MergeFrom-Template.ps1` from the repo root.
2. Resolve merge conflicts, taking into account conflict resolution policy below.
3. Validate the changes, as described in the validation section below.
4. Commiting your changes (if applicable).
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.
There may be [special notes](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.

Expand All @@ -20,6 +22,8 @@ For example the template uses MTPv2 for test projects, but a repo might have cho
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):
Expand All @@ -31,22 +35,33 @@ Conflicts in the following files should always be resolved by keeping the curren
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.
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.

## Updating package and SDK versions

After the merge, always check global.json for MSBuild Sdks with names starting with `Microsoft.VisualStudio.Internal.MicroBuild`.
These SDK versions should match the value of the `MicroBuildVersion` property found in `Directory.Packages.props`.
Always take the latest of the versions you see among these SDKs and the `MicroBuildVersion` property.

## 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`.
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.
Expand Down
20 changes: 20 additions & 0 deletions .github/skills/update-library-template/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.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:
DocFx: true # Workaround https://github.com/dotnet/docfx/issues/10808

- name: Upload artifact
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
with:
path: docfx/_site

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0
2 changes: 1 addition & 1 deletion .github/workflows/docs_validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: 📚 Doc validation
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- 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)
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -358,3 +358,6 @@ MigrationBackup/

# Analysis results
*.sarif

# C# Dev Kit cache files
*.lscache
6 changes: 3 additions & 3 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
<MicrosoftTestingPlatformVersion>2.1.0</MicrosoftTestingPlatformVersion>
<MicrosoftTestingPlatformVersion>2.2.2</MicrosoftTestingPlatformVersion>
<MessagePackVersion>2.5.198</MessagePackVersion>
<MicroBuildVersion>2.0.208</MicroBuildVersion>
<MicroBuildVersion>2.0.226</MicroBuildVersion>
<RoslynVersion>4.14.0</RoslynVersion>
<CodeAnalysisAnalyzerVersion>4.14.0</CodeAnalysisAnalyzerVersion>
<VisualStudioThreadingVersion>17.14.15</VisualStudioThreadingVersion>
Expand Down Expand Up @@ -50,7 +50,7 @@
<PackageVersion Update="System.Reflection.Metadata" Version="9.0.0" />
</ItemGroup>
<ItemGroup Label="Library.Template">
<PackageVersion Include="Microsoft.Testing.Extensions.CodeCoverage" Version="18.4.1" />
<PackageVersion Include="Microsoft.Testing.Extensions.CodeCoverage" Version="18.6.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)" />
Expand Down
2 changes: 0 additions & 2 deletions azure-pipelines/archive-sourcecode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ variables:
extends:
template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
parameters:
settings:
networkIsolationPolicy: Permissive,CFSClean
sdl:
sourceAnalysisPool: VSEng-MicroBuildVSStable

Expand Down
2 changes: 0 additions & 2 deletions azure-pipelines/libtemplate-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ variables:
extends:
template: azure-pipelines/MicroBuild.1ES.Unofficial.yml@MicroBuildTemplate
parameters:
settings:
networkIsolationPolicy: Permissive,CFSClean
sdl:
sourceAnalysisPool:
name: AzurePipelines-EO
Expand Down
2 changes: 0 additions & 2 deletions azure-pipelines/official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ variables:
extends:
template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
parameters:
settings:
networkIsolationPolicy: Permissive,CFSClean
sdl:
sourceAnalysisPool: VSEng-MicroBuildVSStable
codeSignValidation:
Expand Down
2 changes: 0 additions & 2 deletions azure-pipelines/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ variables:
extends:
template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
parameters:
settings:
networkIsolationPolicy: Permissive,CFSClean
sdl:
sourceAnalysisPool: VSEng-MicroBuildVSStable

Expand Down
2 changes: 0 additions & 2 deletions azure-pipelines/unofficial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ variables:
extends:
template: azure-pipelines/MicroBuild.1ES.Unofficial.yml@MicroBuildTemplate
parameters:
settings:
networkIsolationPolicy: Permissive,CFSClean
sdl:
sourceAnalysisPool: VSEng-MicroBuildVSStable
credscan:
Expand Down
2 changes: 0 additions & 2 deletions azure-pipelines/vs-insertion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ variables:
extends:
template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
parameters:
settings:
networkIsolationPolicy: Permissive,CFSClean
sdl:
sourceAnalysisPool: VSEng-MicroBuildVSStable
sbom:
Expand Down
2 changes: 0 additions & 2 deletions azure-pipelines/vs-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ variables:
extends:
template: azure-pipelines/MicroBuild.1ES.Unofficial.yml@MicroBuildTemplate
parameters:
settings:
networkIsolationPolicy: Permissive,CFSClean
sdl:
sourceAnalysisPool: VSEng-MicroBuildVSStable
credscan:
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "10.0.102",
"version": "10.0.300",
"rollForward": "patch",
"allowPrerelease": false
},
Expand Down
2 changes: 1 addition & 1 deletion src/StreamJsonRpc/NerdbankMessagePackFormatter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public NerdbankMessagePackFormatter()
public MessagePackSerializer UserDataSerializer
{
get => this.userDataSerializer;
[MemberNotNull(nameof(this.userDataSerializer))]
[MemberNotNull(nameof(userDataSerializer))]
init
{
Requires.NotNull(value);
Expand Down
42 changes: 22 additions & 20 deletions tools/Convert-PDB.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
#>
[CmdletBinding()]
Param(
[Parameter(Mandatory=$true,Position=0)]
[Parameter(Mandatory = $true, Position = 0)]
[string]$DllPath,
[Parameter()]
[string]$PdbPath,
[Parameter(Mandatory=$true,Position=1)]
[Parameter(Mandatory = $true, Position = 1)]
[string]$OutputPath
)

Expand All @@ -23,26 +23,28 @@ if ($IsMacOS -or $IsLinux) {
return
}

$version = '1.1.0-beta2-21101-01'
$baseDir = "$PSScriptRoot/../obj/tools"
$pdb2pdbpath = "$baseDir/Microsoft.DiaSymReader.Pdb2Pdb.$version/tools/Pdb2Pdb.exe"
if (-not (Test-Path $pdb2pdbpath)) {
if (-not (Test-Path $baseDir)) { New-Item -Type Directory -Path $baseDir | Out-Null }
$baseDir = (Resolve-Path $baseDir).Path # Normalize it
Write-Verbose "& (& $PSScriptRoot/Get-NuGetTool.ps1) install Microsoft.DiaSymReader.Pdb2Pdb -version $version -PackageSaveMode nuspec -OutputDirectory $baseDir -Source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json | Out-Null"
# This package originally comes from the https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json feed.
# Add this feed as an upstream to whatever feed is in nuget.config if this step fails.
& (& $PSScriptRoot/Get-NuGetTool.ps1) install Microsoft.DiaSymReader.Pdb2Pdb -version $version -PackageSaveMode nuspec -OutputDirectory $baseDir | Out-Null
if ($LASTEXITCODE -ne 0) {
Write-Error "Failed to install Microsoft.DiaSymReader.Pdb2Pdb. Consider adding https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json as an upstream to your nuget.config feed."
return
}
# This package originally comes from the https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json feed.
# Add this feed as an upstream to whatever feed is in nuget.config if this step fails.
$packageID = 'Microsoft.DiaSymReader.Pdb2Pdb'
$packageVersion = '1.1.0-beta2-21101-01'
try {
$pdb2pdbpath = & "$PSScriptRoot/Download-NuGetPackage.ps1" -PackageId $packageID -Version $packageVersion -Source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json
}
catch {
Write-Error "Failed to install $packageID. Consider adding https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json as an upstream to your nuget.config feed."
return
}

$outputDirectory = Split-Path $OutputPath -Parent
if ($outputDirectory) {
New-Item -ItemType Directory -Force -Path $outputDirectory | Out-Null
}

$args = $DllPath,'/out',$OutputPath,'/nowarn','0021'
$toolpath = Join-Path $pdb2pdbpath 'tools\Pdb2Pdb.exe'
$arguments = $DllPath, '/out', $OutputPath, '/nowarn', '0021'
if ($PdbPath) {
$args += '/pdb',$PdbPath
$arguments += '/pdb', $PdbPath
}

Write-Verbose "$pdb2pdbpath $args"
& $pdb2pdbpath $args
Write-Verbose "$toolpath $arguments"
& $toolpath $arguments
Loading