mirror of
https://gitee.com/chinware/atomui.git
synced 2024-12-02 03:47:52 +08:00
f338f22de8
optimize demo aot option
47 lines
1.5 KiB
XML
47 lines
1.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<Import Project="$(MSBuildThisFileDirectory)..\..\Build\Output.App.props"/>
|
|
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<RootNamespace>AtomUI.Demo.Desktop</RootNamespace>
|
|
|
|
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<AvaloniaResource Include="Assets\**"/>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<TrimmerRootDescriptor Include="Roots.xml" />
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
|
<IsTrimmable>true</IsTrimmable>
|
|
<PublishTrimmed>true</PublishTrimmed>
|
|
<PublishAot>true</PublishAot>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Avalonia"/>
|
|
<PackageReference Include="Avalonia.Desktop"/>
|
|
<PackageReference Include="Avalonia.Themes.Fluent"/>
|
|
<PackageReference Include="Avalonia.Controls.DataGrid"/>
|
|
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics"/>
|
|
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Nlnet.Avalonia.DevTools"/>
|
|
<PackageReference Include="CommunityToolkit.Mvvm"/>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\packages\AtomUI\AtomUI.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|