Skip to content

Commit

Permalink
Drop VS public signing workaround
Browse files Browse the repository at this point in the history
They had enough of time to fix their stupidity
  • Loading branch information
JustArchi committed Aug 19, 2024
1 parent 5ab008d commit 31418ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@
<SignAssembly>false</SignAssembly>
</PropertyGroup>

<!-- Enable public signing if not part of Visual Studio, which is too stupid to understand what public signing is -->
<PropertyGroup Condition="'$(Configuration)' == 'Release' AND '$(BuildingInsideVisualStudio)' != 'true' AND EXISTS('resources/$(PluginName).snk.pub')">
<!-- Enable public signing, if provided with public key -->
<PropertyGroup Condition="'$(Configuration)' == 'Release' AND EXISTS('resources/$(PluginName).snk.pub')">
<AssemblyOriginatorKeyFile>../resources/$(PluginName).snk.pub</AssemblyOriginatorKeyFile>
<PublicSign>true</PublicSign>
<SignAssembly>true</SignAssembly>
</PropertyGroup>

<!-- Private SNK signing -->
<!-- Private SNK signing, if provided with secret -->
<PropertyGroup Condition="'$(Configuration)' == 'Release' AND EXISTS('resources/$(PluginName).snk')">
<AssemblyOriginatorKeyFile>../resources/$(PluginName).snk</AssemblyOriginatorKeyFile>
<PublicSign>false</PublicSign>
Expand Down

0 comments on commit 31418ff

Please sign in to comment.