Skip to content
This repository was archived by the owner on Jul 26, 2023. It is now read-only.

Commit 64180e3

Browse files
committed
Fix build after takedown of dotnet.myget.org
1 parent 180d036 commit 64180e3

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

azure-pipelines/Convert-PDB.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<#
22
.SYNOPSIS
3-
Builds all projects in this repo.
3+
Converts between Windows PDB and Portable PDB formats.
44
.PARAMETER DllPath
55
The path to the DLL whose PDB is to be converted.
66
.PARAMETER PdbPath
@@ -18,13 +18,13 @@
1818
[string]$OutputPath
1919
)
2020

21-
$version = '1.1.0-beta1-64128-01'
21+
$version = '1.1.0-beta2-20115-01'
2222
$baseDir = "$PSScriptRoot\..\obj\tools"
23-
$pdb2pdbpath = "$baseDir\pdb2pdb.$version\tools\Pdb2Pdb.exe"
23+
$pdb2pdbpath = "$baseDir\Microsoft.DiaSymReader.Pdb2Pdb.$version\tools\Pdb2Pdb.exe"
2424
if (-not (Test-Path $pdb2pdbpath)) {
2525
if (-not (Test-Path $baseDir)) { New-Item -Type Directory -Path $baseDir | Out-Null }
2626
$baseDir = (Resolve-Path $baseDir).Path # Normalize it
27-
& (& $PSScriptRoot\Get-NuGetTool.ps1) install pdb2pdb -version $version -PackageSaveMode nuspec -OutputDirectory $baseDir -Source https://dotnet.myget.org/F/symreader-converter/api/v3/index.json | Out-Null
27+
& (& $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
2828
}
2929

3030
$args = $DllPath,'/out',$OutputPath,'/nowarn','0021'

nuget.config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@
66
<packageSources>
77
<clear />
88
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
9-
<add key="corefxlab" value="https://dotnet.myget.org/F/dotnet-corefxlab/api/v3/index.json" />
109
</packageSources>
1110
</configuration>

0 commit comments

Comments
 (0)