Skip to content

Commit 7420139

Browse files
committed
see revisions.md for list of changes.
1 parent ea88345 commit 7420139

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

4-Aquiis.SimpleStart/Aquiis.SimpleStart.csproj

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<UserSecretsId>aspnet-Aquiis.SimpleStart-c69b6efe-bb20-41de-8cba-044207ebdce1</UserSecretsId>
8-
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
98
<MigrationsDirectory>Data/Migrations</MigrationsDirectory>
109

1110
<!-- Semantic Versioning -->
@@ -60,4 +59,19 @@
6059
<PackageReference Include="Twilio" Version="7.14.0" />
6160
</ItemGroup>
6261

62+
<!--
63+
Force multi-file publish to eliminate the 30+ second startup extraction delay.
64+
electronize start/build passes /p:PublishSingleFile=true on the command line, which
65+
overrides project PropertyGroup values. A Target-level PropertyGroup assignment runs
66+
AFTER command-line properties are evaluated but BEFORE the publish bundling targets,
67+
so it reliably wins. With PublishSingleFile=false, native libraries (SQLCipher etc.)
68+
are published as separate files alongside the exe — no extraction, near-instant load.
69+
-->
70+
<Target Name="DisableSingleFilePublish" BeforeTargets="PrepareForPublish">
71+
<PropertyGroup>
72+
<PublishSingleFile>false</PublishSingleFile>
73+
<IncludeNativeLibrariesForSelfExtract>false</IncludeNativeLibrariesForSelfExtract>
74+
</PropertyGroup>
75+
</Target>
76+
6377
</Project>

0 commit comments

Comments
 (0)