Commit ca297f2
Merge latest Library.Template (#291)
* Fix warning message
* Fix Prime-ForCopilot.ps1 when invoked from outside the repo
* Use forward slashes consistently in docs
* Avoid assigning to an unused variable
* Avoid returning early while preparing legacy symbols
* Update Dockerfile and global.json updates to v10.0.200 (487)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update dependency powershell to v7.5.5 (#489)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update actions/download-artifact action to v8.0.1 (488)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update Dockerfile and global.json updates to v10.0.201 (490)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update dependency powershell to v7.6.0 (#491)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update actions/deploy-pages action to v5 (492)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Harden path joining in VSInsertion.ps1
* Update mcr.microsoft.com/dotnet/sdk:10.0.201 Docker digest to f061e5a (493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Harden release workflow to use better runs
* Fix the build status badge
* Switch from using nuget.exe to dotnet cli commands (#494)
* Switch from using nuget.exe to dotnet cli commands
* Fix Download-NuGetPackage failure and version selection
---------
Co-authored-by: Andrew Arnott <andrew.arnott@microsoft.com>
* Fix Expand-Template
* Update Microsoft Testing Platform to 2.2.1 (497)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update dependency dotnet-coverage to v18.6.2
* Update dependency Microsoft.Testing.Extensions.CodeCoverage to v18.6.2
* Remove usage of old NuGet tools (#496)
* Remove usage of old NuGet tools
* Add source for procdump package
* Add feed for getting Microsoft.DiaSymReader.Pdb2Pdb
* try Copilot suggested fixes
* Add pre-release support
* Use default configuration for Network Isolation
* Bump MicroBuildVersion to 2.0.226
* Update dependency nerdbank.dotnetrepotools to v1.3.1 (#501)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update mcr.microsoft.com/dotnet/sdk:10.0.201 Docker digest to 127d7d4 (502)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update actions/upload-artifact action to v7.0.1 (503)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update actions/upload-pages-artifact action to v5 (504)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update dependency nerdbank.dotnetrepotools to v1.3.13 (505)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Update Dockerfile and global.json updates to v10.0.202 (506)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Throw on Download-NuGetPackage errors
Instead of writing an error and returning `$null` to the caller, we should do something that's harder to ignore.
* Rename variable for better consistency
* Defend against exceptions thrown from `Download-NugetPackage.ps1`
* Add missing `dotnet symbol` command to manifest
* Improve resilience of fetching PackageVersion items
* Avoid re-unzipping downloaded symbol packages
Get-ExternalSymbolFiles.ps1 was downloading Nerdbank.Streams into obj/SymbolsPackages/nerdbank.streams/2.13.16 via Download-NuGetPackage.ps1, which uses dotnet package download. After that, the script searched for the .nupkg inside that directory and extracted it again into obj/SymbolsPackages/Nerdbank.Streams.2.13.16.
That second extraction was redundant and only existed so dotnet symbol and the PDB archival logic had a package root to inspect. The downloaded package directory already contains the package contents in NuGet's normal lowercase layout, so the script can operate on that directory directly.
Use the package path returned by Download-NuGetPackage.ps1 for symbol download and PDB discovery, and remove the extra unzip step. This leaves only one materialized package tree under obj/SymbolsPackages.
* Avoid stomping on LASTEXITCODE while simply trying to reset it
* Fix init.ps1 installation of local microbuild plugins
We need the packages *with their dependencies* to be installed, and only
I filed dotnet/sdk#53890 to track this missing feature that requires us to go back to using nuget.exe.
* Don't download a nuget package twice
* Don't assume unpacked structure in Convert-PDB.ps1
* Improve `dotnet symbol` performance
We can invoke it just once with all the binaries we want symbols for.
* Call out when package versions are missing
* Use `dotnet-symbols` 9.0.661903 (the latest public version)
* Fix references to undefined variables
* Simplify ps1 syntax
The old way worked, but copilot reviews kept flagging it as wrong anyway. So we're just appeasing it.
* Defend against filename-only output paths
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andrii Tretiak <andreyt@microsoft.com>
Co-authored-by: 🤖 Copilot <no-reply@github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>25 files changed
Lines changed: 288 additions & 113 deletions
File tree
- .config
- .github
- actions/publish-artifacts
- prompts
- workflows
- azure-pipelines
- tools
- artifacts
- variables
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
39 | 46 | | |
40 | 47 | | |
41 | 48 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
40 | 46 | | |
41 | 47 | | |
42 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | 38 | | |
41 | 39 | | |
42 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
| |||
0 commit comments