AvaloniaApplication2.csproj 1.1 KB

12345678910111213141516171819202122232425
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <OutputType>WinExe</OutputType>
  4. <TargetFramework>net8.0</TargetFramework>
  5. <Nullable>enable</Nullable>
  6. <BuiltInComInteropSupport>true</BuiltInComInteropSupport>
  7. <ApplicationManifest>app.manifest</ApplicationManifest>
  8. <AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
  9. </PropertyGroup>
  10. <ItemGroup>
  11. <AvaloniaXaml Remove="Images\**" />
  12. <Compile Remove="Images\**" />
  13. <EmbeddedResource Remove="Images\**" />
  14. <None Remove="Images\**" />
  15. </ItemGroup>
  16. <ItemGroup>
  17. <PackageReference Include="Avalonia" Version="11.1.3" />
  18. <PackageReference Include="Avalonia.Desktop" Version="11.1.3" />
  19. <PackageReference Include="Avalonia.Themes.Fluent" Version="11.1.3" />
  20. <PackageReference Include="Avalonia.Fonts.Inter" Version="11.1.3" />
  21. <!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
  22. <PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.1.3" />
  23. </ItemGroup>
  24. </Project>