Skip to content

Commit

Permalink
Re-enable 32bit publishing, keep AOT for 64bit
Browse files Browse the repository at this point in the history
Re-enable 32bit Windows publishing needed for signing Office macros (OfficeSIPs are only available as 32bit).
PublishAOT still available for 64-bit Windows publishing via build-condition.
  • Loading branch information
j-laemmermann committed Jun 22, 2024
1 parent 078c762 commit 673e440
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/AzureSign.Core/AzureSign.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
<Description>Authenticode signing library.</Description>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
<RuntimeIdentifiers>win-x64;win-arm64;win-x86</RuntimeIdentifiers>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<MinVerTagPrefix>v</MinVerTagPrefix>
<Nullable>enable</Nullable>
Expand Down
4 changes: 2 additions & 2 deletions src/AzureSignTool/AzureSignTool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<PackAsTool>true</PackAsTool>
<ToolCommandName>azuresigntool</ToolCommandName>
<Description>Azure Sign Tool is similar to signtool in the Windows SDK, with the major difference being that it uses Azure Key Vault for performing the signing process. The usage is like signtool, except with a limited set of options for signing and options for authenticating to Azure Key Vault.</Description>
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
<RuntimeIdentifiers>win-x64;win-arm64;win-x86</RuntimeIdentifiers>
<MinVerTagPrefix>v</MinVerTagPrefix>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PublishAot>true</PublishAot>
<PublishAot Condition="$(RuntimeIdentifier.EndsWith('64'))">true</PublishAot>
<EventSourceSupport>false</EventSourceSupport>
<HttpActivityPropagationSupport>false</HttpActivityPropagationSupport>
<OptimizationPreference>Size</OptimizationPreference>
Expand Down

0 comments on commit 673e440

Please sign in to comment.