- Keep native DLLs outside single-file bundle (IncludeNativeLibrariesForSelfExtract=false) - Prebuild script copies all output to Tauri bin (skips .pdb and .metal) - Only copy runtimes for the target platform (e.g. win-x64), strip all others - Clean stale runtimes on each rebuild Co-Authored-By: Oz <oz-agent@warp.dev>
22 lines
708 B
XML
22 lines
708 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<IncludeNativeLibrariesForSelfExtract>false</IncludeNativeLibrariesForSelfExtract>
|
|
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Journal.AI\Journal.AI.csproj" />
|
|
<ProjectReference Include="..\Journal.Core\Journal.Core.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" />
|
|
<PackageReference Include="NAudio" />
|
|
<PackageReference Include="Whisper.net" />
|
|
<PackageReference Include="Whisper.net.Runtime" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|