AvaloniaApplication2.csproj 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. <Folder Include="Models\" />
  12. <AvaloniaResource Include="Assets\**" />
  13. </ItemGroup>
  14. <ItemGroup>
  15. <None Remove="Assets\заглушка.jpg" />
  16. </ItemGroup>
  17. <ItemGroup>
  18. <PackageReference Include="Avalonia" Version="11.1.0" />
  19. <PackageReference Include="Avalonia.Desktop" Version="11.1.0" />
  20. <PackageReference Include="Avalonia.Themes.Fluent" Version="11.1.0" />
  21. <PackageReference Include="Avalonia.Fonts.Inter" Version="11.1.0" />
  22. <!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
  23. <PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.1.0" />
  24. <PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.1" />
  25. <PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.18" />
  26. <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.18">
  27. <PrivateAssets>all</PrivateAssets>
  28. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  29. </PackageReference>
  30. <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="7.0.18">
  31. <PrivateAssets>all</PrivateAssets>
  32. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  33. </PackageReference>
  34. <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="7.0.18" />
  35. </ItemGroup>
  36. <ItemGroup>
  37. <AvaloniaResource Update="Assets\заглушка.jpg">
  38. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  39. </AvaloniaResource>
  40. </ItemGroup>
  41. </Project>