Created
July 17, 2022 20:07
-
-
Save habibg1232191/b8f0cf609c9877736a1456be5e84f192 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Project Sdk="Microsoft.NET.Sdk"> | |
| <PropertyGroup> | |
| <OutputType>WinExe</OutputType> | |
| <TargetFramework>net6.0</TargetFramework> | |
| <Nullable>enable</Nullable> | |
| <!--Avalonia doesen't support TrimMode=link currently,but we are working on that https://github.com/AvaloniaUI/Avalonia/issues/6892 --> | |
| <TrimMode>copyused</TrimMode> | |
| <BuiltInComInteropSupport>true</BuiltInComInteropSupport> | |
| </PropertyGroup> | |
| <ItemGroup> | |
| <Folder Include="Models\" /> | |
| <AvaloniaResource Include="Assets\**" /> | |
| <None Remove=".gitignore" /> | |
| </ItemGroup> | |
| <ItemGroup> | |
| <!--This helps with theme dll-s trimming. | |
| If you will publish your application in self-contained mode with p:PublishTrimmed=true and it will use Fluent theme Default theme will be trimmed from the output and vice versa. | |
| https://github.com/AvaloniaUI/Avalonia/issues/5593 --> | |
| <TrimmableAssembly Include="Avalonia.Themes.Fluent" /> | |
| <TrimmableAssembly Include="Avalonia.Themes.Default" /> | |
| </ItemGroup> | |
| <ItemGroup> | |
| <PackageReference Include="Avalonia" Version="0.10.16" /> | |
| <PackageReference Include="Avalonia.Desktop" Version="0.10.16" /> | |
| <PackageReference Include="Avalonia.Diagnostics" Version="0.10.16" /> | |
| <!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.--> | |
| <PackageReference Include="Avalonia.ReactiveUI" Version="0.10.16" /> | |
| <PackageReference Include="XamlNameReferenceGenerator" Version="1.3.4" /> | |
| </ItemGroup> | |
| </Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment