Skip to content

Commit 3ad8196

Browse files
author
Mikhail Arkhipov
committed
Exclude nuget from strong naming
1 parent 7d0681a commit 3ad8196

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Publish/SignLayout.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<Target Name="CoreCompile" />
2727
<Target Name="CopyFilesToOutputDirectory" />
2828

29-
<ItemGroup Condition="$(SignParser)">
29+
<ItemGroup Condition="$(SignServer)">
3030
<SignFiles Include="$(OutputPath)\Microsoft.Python.Core.dll" />
3131
<SignFiles Include="$(OutputPath)\Microsoft.Python.Parsing.dll" />
3232
</ItemGroup>
@@ -49,7 +49,7 @@
4949
<FilesToSign Include="@(SignFiles)">
5050
<Authenticode Condition="%(Extension) == '.nupkg'">NuGet</Authenticode>
5151
<Authenticode Condition="%(Extension) != '.nupkg'">Microsoft400</Authenticode>
52-
<StrongName>StrongName</StrongName>
52+
<StrongName Condition="%(Extension) != '.nupkg'">StrongName</StrongName>
5353
</FilesToSign>
5454
</ItemGroup>
5555
<Error Condition="@(_Missing) != ''" Text="Following files are missing: @(_Missing,'%0A')" />

0 commit comments

Comments
 (0)