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

Commit 6f0da0a

Browse files
committed
Fix the SOS.NETCore.dll so it is only in the list once with sn=None
1 parent 6f1fc9d commit 6f0da0a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/sign.builds

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727

2828
<!-- gather the list of binaries to sign with the default certificates -->
2929
<ItemGroup>
30-
<FilesToSign Include="$(BinDir)*.dll" Exclude="$(BinDir)*.ni.dll" />
30+
<FileToNotStrongNameSign Include="$(BinDir)*.ni.dll;$(BinDir)SOS.NETCore.dll" />
31+
<FilesToSign Include="$(BinDir)*.dll" Exclude="@(FileToNotStrongNameSign)" />
3132
<FilesToSign Include="$(BinDir)*.exe" />
3233
</ItemGroup>
3334

@@ -36,7 +37,7 @@
3637
native images which causes the signing step to fail for obvious reasons.
3738
-->
3839
<ItemGroup>
39-
<FilesToSign Include="$(BinDir)*.ni.dll;$(BinDir)SOS.NETCore.dll">
40+
<FilesToSign Include="@(FileToNotStrongNameSign)">
4041
<StrongName>None</StrongName>
4142
</FilesToSign>
4243
</ItemGroup>

0 commit comments

Comments
 (0)