EnableCompressionInSingleFile is the switch the bundler reads; the published setup stub shrinks from 157 MB to 70 MB, and with it every installer and the uninstaller copy. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
22 lines
1016 B
XML
22 lines
1016 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net10.0-windows</TargetFramework>
|
|
<UseWPF>true</UseWPF>
|
|
<RootNamespace>Titano.Setup</RootNamespace>
|
|
<AssemblyName>Titano.Setup</AssemblyName>
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
<TitanoIconVariant>titano</TitanoIconVariant>
|
|
<!-- Program.Main is the entry point (exit codes, silent mode without WPF); there is no App.xaml. -->
|
|
<StartupObject>Titano.Setup.Program</StartupObject>
|
|
</PropertyGroup>
|
|
<!-- The setup program is the stub of every installer and the uninstaller copy: keep it small. -->
|
|
<PropertyGroup Condition="'$(PublishSingleFile)' == 'true' and '$(SelfContained)' == 'true'">
|
|
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Titano.Core\Titano.Core.csproj" />
|
|
<ProjectReference Include="..\Titano.Ui\Titano.Ui.csproj" />
|
|
</ItemGroup>
|
|
</Project>
|