Skip to content

Commit

Permalink
Set SignAssembly=false when merging assemblies
Browse files Browse the repository at this point in the history
Since it's unsupported by ilrepack as a dotnet tool (and additionally, entirely unnecessary for analyzers).
  • Loading branch information
kzu committed Jul 9, 2024
1 parent 3ddc5f9 commit c58c1f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/SponsorLink/SponsorLink.Analyzer.targets
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
<FundingPrefix Condition="'$(FundingPrefix)' == ''">$([System.Text.RegularExpressions.Regex]::Replace("$(FundingProduct)", "[^A-Z]", ""))</FundingPrefix>
<!-- Default grace days for an expired sponsor manifest or unknown status -->
<FundingGrace Condition="'$(FundingGrace)' == ''">15</FundingGrace>

<!-- Strong-naming analyzers is both unnecessary and additionally unsupported by ILRepack when run as a dotnet tool -->
<SignAssembly Condition="'$(MergeAnalyzerAssemblies)' == 'true'">false</SignAssembly>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit c58c1f9

Please sign in to comment.