All checks were successful
Release / release (push) Successful in 40s
The release workflow runs on a Linux container; building net8.0-windows + UseWPF=true requires this opt-in property since .NET 8. No-op on Windows. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
40 lines
1.5 KiB
XML
40 lines
1.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net8.0-windows</TargetFramework>
|
|
<UseWPF>true</UseWPF>
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<!-- Allow Linux Gitea runners to publish this WPF project for win-x64; no-op on Windows. -->
|
|
<EnableWindowsTargeting>true</EnableWindowsTargeting>
|
|
</PropertyGroup>
|
|
|
|
<!-- Debug: asInvoker so Rider/VS can debug without elevation -->
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
|
|
<ApplicationManifest>app.debug.manifest</ApplicationManifest>
|
|
</PropertyGroup>
|
|
|
|
<!-- Release: requireAdministrator for service registration + shortcuts -->
|
|
<PropertyGroup Condition="'$(Configuration)' != 'Debug'">
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(PublishSingleFile)' == 'true'">
|
|
<PublishTrimmed>false</PublishTrimmed>
|
|
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
|
|
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
|
|
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.1" />
|
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.1" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\ClaudeDo.Data\ClaudeDo.Data.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|