Skip to content

Commit 192d2d0

Browse files
authored
Revert "Enabling ConvertPdbsToWindowsPdbs (#8007)"
This reverts commit a661399.
1 parent 020ac68 commit 192d2d0

6 files changed

Lines changed: 5 additions & 22 deletions

File tree

eng/publishing/v3/publish-assets.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ jobs:
103103
/p:DotNetBuildsPublicChecksumsUriBase64='$(dotnetbuilds-public-container-checksum-uri-base64)'
104104
/p:DotNetBuildsInternalUriBase64='$(dotnetbuilds-internal-container-uri-base64)'
105105
/p:DotNetBuildsInternalChecksumsUriBase64='$(dotnetbuilds-internal-container-checksum-uri-base64)'
106-
/p:ConvertPortablePdbsToWindowsPdbs='true'
107106
- template: /eng/common/templates/steps/publish-logs.yml
108107
parameters:
109108
StageLabel: '${{ parameters.stageName }}'

src/Microsoft.DotNet.Arcade.Sdk/tools/SdkTasks/PublishArtifactsInManifest.proj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@
108108
<InternalChecksumsFeedKey>$(InternalChecksumsAzureAccountKey)</InternalChecksumsFeedKey>
109109
<AllowFeedOverrides Condition="'$(AllowFeedOverrides)' == ''">false</AllowFeedOverrides>
110110
<UseStreamingPublishing Condition="'$(UseStreamingPublishing)' == ''">false</UseStreamingPublishing>
111-
<ConvertPortablePdbsToWindowsPdbs Condition="'$(ConvertPortablePdbsToWindowsPdbs)' == ''">false</ConvertPortablePdbsToWindowsPdbs>
112111
<ArtifactsBasePath Condition="'$(ArtifactsBasePath)' == ''">$(BlobBasePath)</ArtifactsBasePath>
113112
<NonStreamingPublishingMaxClients Condition="'$(NonStreamingPublishingMaxClients)' == ''">12</NonStreamingPublishingMaxClients>
114113
<StreamingPublishingMaxClients Condition="'$(UseStreamingPublishing)' == 'true' and '$(StreamingPublishingMaxClients)' == ''">16</StreamingPublishingMaxClients>
@@ -173,7 +172,6 @@
173172
FeedKeys="@(FeedKey)"
174173
FeedSasUris="@(FeedSasUri)"
175174
FeedOverrides="@(FeedOverride)"
176-
ConvertPortablePdbsToWindowsPdbs="$(ConvertPortablePdbsToWindowsPdbs)"
177175
/>
178176
</Target>
179177

src/Microsoft.DotNet.Build.Tasks.Feed.Tests/PublishToSymbolServerTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public async Task TemporarySymbolDirectoryDoesNotExists()
9191
};
9292
var path = TestInputs.GetFullPath("Symbol");
9393
var buildAsset = new Dictionary<string, HashSet<Asset>>();
94-
await task.HandleSymbolPublishingAsync(path, MsdlToken, SymWebToken, "", false, false, buildAsset, null, path);
94+
await task.HandleSymbolPublishingAsync(path, MsdlToken, SymWebToken, "", false, buildAsset, null, path);
9595
Assert.True(task.Log.HasLoggedErrors);
9696
}
9797

src/Microsoft.DotNet.Build.Tasks.Feed/src/PublishArtifactsInManifest.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,6 @@ public class PublishArtifactsInManifest : MSBuildTaskBase
139139
/// </summary>
140140
public bool PublishSpecialClrFiles { get; set; }
141141

142-
public bool ConvertPortablePdbsToWindowsPdbs { get; set; }
143-
144142
/// <summary>
145143
/// If true, safety checks only print messages and do not error
146144
/// - Internal asset to public feed
@@ -344,7 +342,6 @@ internal PublishArtifactsInManifestBase ConstructPublishingV3Task(BuildModel bui
344342
MsdlToken = this.MsdlToken,
345343
SymbolPublishingExclusionsFile = this.SymbolPublishingExclusionsFile,
346344
PublishSpecialClrFiles = this.PublishSpecialClrFiles,
347-
ConvertPortablePdbsToWindowsPdbs = this.ConvertPortablePdbsToWindowsPdbs,
348345
BuildQuality = this.BuildQuality,
349346
ArtifactsBasePath = this.ArtifactsBasePath,
350347
AzdoApiToken = this.AzdoApiToken,

src/Microsoft.DotNet.Build.Tasks.Feed/src/PublishArtifactsInManifestBase.cs

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -396,20 +396,18 @@ public void CheckForStableAssetsInNonIsolatedFeeds()
396396
/// <param name="symbolPublishingExclusionsFile">Right now we do not add any files to this, so this is going to be null</param>
397397
/// <param name="publishSpecialClrFiles">If true, the special coreclr module indexed files like DBI, DAC and SOS are published</param>
398398
/// <param name="clientThrottle">To avoid starting too many processes</param>
399-
/// <param name="convertPortablePdbsToWindowsPdbs">If true, convert protable pdbs to windows pdbs</param>
400399
/// <returns>Task</returns>
401400
public async Task PublishSymbolsUsingStreamingAsync(
402401
string pdbArtifactsBasePath,
403402
string msdlToken,
404403
string symWebToken,
405404
string symbolPublishingExclusionsFile,
406405
bool publishSpecialClrFiles,
407-
bool convertPortablePdbsToWindowsPdbs,
408406
Dictionary<string, HashSet<Asset>> buildAssets,
409407
SemaphoreSlim clientThrottle)
410408
{
411409
Log.LogMessage(MessageImportance.High,
412-
$"Performing symbol publishing... \nExpirationInDays : {ExpirationInDays} \nConvertPortablePdbsToWindowsPdb : {convertPortablePdbsToWindowsPdbs} \ndryRun: false ");
410+
$"Performing symbol publishing... \nExpirationInDays : {ExpirationInDays} \nConvertPortablePdbsToWindowsPdb : false \ndryRun: false ");
413411
var symbolCategory = TargetFeedContentType.Symbols;
414412

415413
using HttpClient httpClient = CreateAzdoClient(AzureDevOpsOrg, false, AzureProject);
@@ -504,7 +502,7 @@ await PublishSymbolsHelper.PublishAsync(
504502
null,
505503
excludeFiles,
506504
ExpirationInDays,
507-
convertPortablePdbsToWindowsPdbs,
505+
false,
508506
publishSpecialClrFiles,
509507
null,
510508
false,
@@ -602,14 +600,12 @@ await PublishSymbolsHelper.PublishAsync(
602600
/// <param name="temporarySymbolsLocation">Path to Symbol.nupkgs</param>
603601
/// <param name="clientThrottle">To avoid starting too many processes</param>
604602
/// <param name="publishSpecialClrFiles">If true, the special coreclr module indexed files like DBI, DAC and SOS are published</param>
605-
/// <param name="convertPortablePdbsToWindowsPdbs">If true, convert protable pdbs to windows pdbs</param>
606603
public async Task HandleSymbolPublishingAsync (
607604
string pdbArtifactsBasePath,
608605
string msdlToken,
609606
string symWebToken,
610607
string symbolPublishingExclusionsFile,
611608
bool publishSpecialClrFiles,
612-
bool convertPortablePdbsToWindowsPdbs,
613609
Dictionary<string, HashSet<Asset>> buildAssets,
614610
SemaphoreSlim clientThrottle = null,
615611
string temporarySymbolsLocation = null)
@@ -622,7 +618,6 @@ await PublishSymbolsUsingStreamingAsync(
622618
symWebToken,
623619
symbolPublishingExclusionsFile,
624620
publishSpecialClrFiles,
625-
convertPortablePdbsToWindowsPdbs,
626621
buildAssets,
627622
clientThrottle);
628623
}
@@ -634,7 +629,6 @@ await PublishSymbolsfromBlobArtifactsAsync(
634629
symWebToken,
635630
symbolPublishingExclusionsFile,
636631
publishSpecialClrFiles,
637-
convertPortablePdbsToWindowsPdbs,
638632
temporarySymbolsLocation);
639633
}
640634
}
@@ -648,14 +642,12 @@ await PublishSymbolsfromBlobArtifactsAsync(
648642
/// <param name="symbolPublishingExclusionsFile">Right now we do not add any files to this, so this is going to be null</param>
649643
/// <param name="temporarySymbolsLocation">Path to Symbol.nupkgs</param>
650644
/// <param name="publishSpecialClrFiles">If true, the special coreclr module indexed files like DBI, DAC and SOS are published</param>
651-
/// <param name="convertPortablePdbsToWindowsPdbs">If true, convert protable pdbs to windows pdbs</param>
652645
public async Task PublishSymbolsfromBlobArtifactsAsync(
653646
string pdbArtifactsBasePath,
654647
string msdlToken,
655648
string symWebToken,
656649
string symbolPublishingExclusionsFile,
657650
bool publishSpecialClrFiles,
658-
bool convertPortablePdbsToWindowsPdbs,
659651
string temporarySymbolsLocation = null)
660652
{
661653
if (Directory.Exists(temporarySymbolsLocation))
@@ -690,7 +682,7 @@ public async Task PublishSymbolsfromBlobArtifactsAsync(
690682
var serverPath = server.Key;
691683
var token = server.Value;;
692684
Log.LogMessage(MessageImportance.High,
693-
$"Performing symbol publishing...\nSymbolServerPath : ${serverPath} \nExpirationInDays : {ExpirationInDays} \nConvertPortablePdbsToWindowsPdb : {convertPortablePdbsToWindowsPdbs} \ndryRun: false \nTotal number of symbol files : {fileEntries.Length} ");
685+
$"Performing symbol publishing...\nSymbolServerPath : ${serverPath} \nExpirationInDays : {ExpirationInDays} \nConvertPortablePdbsToWindowsPdb : false \ndryRun: false \nTotal number of symbol files : {fileEntries.Length} ");
694686

695687
try
696688
{
@@ -702,7 +694,7 @@ await PublishSymbolsHelper.PublishAsync(
702694
filesToSymbolServer,
703695
null,
704696
ExpirationInDays,
705-
convertPortablePdbsToWindowsPdbs,
697+
false,
706698
publishSpecialClrFiles,
707699
null,
708700
false,

src/Microsoft.DotNet.Build.Tasks.Feed/src/PublishArtifactsInManifestV3.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ public class PublishArtifactsInManifestV3 : PublishArtifactsInManifestBase
3838

3939
public bool AllowFeedOverrides { get; set; }
4040

41-
public bool ConvertPortablePdbsToWindowsPdbs { get; set;}
42-
4341
public ITaskItem[] FeedKeys { get; set; }
4442
public ITaskItem[] FeedSasUris { get; set; }
4543

@@ -195,7 +193,6 @@ await Task.WhenAll(new Task[]
195193
SymWebToken,
196194
SymbolPublishingExclusionsFile,
197195
PublishSpecialClrFiles,
198-
ConvertPortablePdbsToWindowsPdbs,
199196
buildAssets,
200197
clientThrottle,
201198
temporarySymbolsLocation)

0 commit comments

Comments
 (0)