Semi.Avalonia/demo/Semi.Avalonia.Demo.Desktop/Semi.Avalonia.Demo.Desktop.csproj

37 lines
1.4 KiB
XML
Raw Normal View History

2023-01-20 23:08:33 +08:00
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0</TargetFramework>
2023-01-20 23:08:33 +08:00
<Nullable>enable</Nullable>
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
<!-- Uncomment below to enable Native AOT compilation-->
<!--
<PublishAot>true</PublishAot>
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
-->
2023-01-20 23:08:33 +08:00
</PropertyGroup>
<PropertyGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))">
<IsTrimmable>true</IsTrimmable>
<PublishTrimmed>true</PublishTrimmed>
</PropertyGroup>
2023-01-20 23:08:33 +08:00
<PropertyGroup>
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
<ItemGroup>
<TrimmerRootDescriptor Include="Roots.xml" />
</ItemGroup>
2023-01-20 23:08:33 +08:00
<ItemGroup>
2023-04-23 01:41:42 +08:00
<PackageReference Include="Avalonia.Desktop" Version="$(AvaloniaVersion)" />
2023-01-20 23:08:33 +08:00
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
2023-04-23 01:41:42 +08:00
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="$(AvaloniaVersion)" />
2023-01-20 23:08:33 +08:00
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Semi.Avalonia.Demo\Semi.Avalonia.Demo.csproj" />
</ItemGroup>
</Project>