Skip to content

Commit a75b0da

Browse files
authored
Merge pull request #1334 from microsoft/fixSigningErrors
Sign native dll and exclude test exe from sign check
2 parents 86f316f + a97bf91 commit a75b0da

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

azure-pipelines/Get-SymbolFiles.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Write-Progress -Activity $ActivityName -CurrentOperation "Discovery PDB files"
1818
$PDBs = Get-ChildItem -rec "$Path/*.pdb"
1919

2020
# Filter PDBs to product OR test related.
21-
$testregex = "unittest|tests|\.test\."
21+
$testregex = "unittest|tests|\.test\.|TestHost"
2222

2323
Write-Progress -Activity $ActivityName -CurrentOperation "De-duplicating symbols"
2424
$PDBsByHash = @{}

src/SosThreadingTools/SosThreadingTools.targets

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@
2626
<GenerateNuspecDependsOn>StampAndIncludeGalleryManifest;$(GenerateNuspecDependsOn)</GenerateNuspecDependsOn>
2727
</PropertyGroup>
2828

29+
<ItemGroup>
30+
<FilesToSign Include="$(TargetDir)$(DnneNativeBinaryName).dll">
31+
<StrongName />
32+
</FilesToSign>
33+
</ItemGroup>
34+
2935
<Target Name="PackBuildOutputs" DependsOnTargets="DebugSymbolsProjectOutputGroup">
3036
<ItemGroup>
3137
<TfmSpecificPackageFile Include="$(TargetPath)" PackagePath="tools\$(RuntimeIdentifier)\" />

0 commit comments

Comments
 (0)