Captchapp.csproj 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  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. <AvaloniaResource Include="Assets\**" />
  12. </ItemGroup>
  13. <ItemGroup>
  14. <AvaloniaXaml Remove="Assets\Styles.axaml" />
  15. </ItemGroup>
  16. <ItemGroup>
  17. <PackageReference Include="Avalonia" Version="11.1.0" />
  18. <PackageReference Include="Avalonia.Desktop" Version="11.1.0" />
  19. <PackageReference Include="Avalonia.Themes.Fluent" Version="11.1.0" />
  20. <PackageReference Include="Avalonia.Fonts.Inter" Version="11.1.0" />
  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.0" />
  23. <PackageReference Include="Avalonia.ReactiveUI" Version="11.1.0" />
  24. </ItemGroup>
  25. <ItemGroup>
  26. <AvaloniaResource Update="Assets\Styles.axaml">
  27. <SubType>Designer</SubType>
  28. </AvaloniaResource>
  29. </ItemGroup>
  30. </Project>