PicView.Avalonia.csproj 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>net8.0</TargetFramework>
  4. <Nullable>enable</Nullable>
  5. <LangVersion>latest</LangVersion>
  6. <AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
  7. <ImplicitUsings>enable</ImplicitUsings>
  8. <Company>Ruben Hyldgaard Negendahl</Company>
  9. <Product>PicView</Product>
  10. <PlatformTarget>x64</PlatformTarget>
  11. </PropertyGroup>
  12. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
  13. <IsAotCompatible>True</IsAotCompatible>
  14. <IsTrimmable>True</IsTrimmable>
  15. </PropertyGroup>
  16. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
  17. <IsAotCompatible>True</IsAotCompatible>
  18. <IsTrimmable>True</IsTrimmable>
  19. </PropertyGroup>
  20. <ItemGroup>
  21. <AvaloniaResource Include="Assets\**" />
  22. </ItemGroup>
  23. <ItemGroup>
  24. <AvaloniaXaml Remove="Themes\**" />
  25. <Compile Remove="Themes\**" />
  26. <EmbeddedResource Remove="Themes\**" />
  27. <None Remove="Themes\**" />
  28. </ItemGroup>
  29. <ItemGroup>
  30. <PackageReference Include="Avalonia" Version="11.0.7" />
  31. <PackageReference Include="Avalonia.ReactiveUI" Version="11.0.7" />
  32. <!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
  33. <PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.0.7" />
  34. </ItemGroup>
  35. <ItemGroup>
  36. <Compile Update="Views\UC\ImageViewer.axaml.cs">
  37. <DependentUpon>ImageViewer.axaml</DependentUpon>
  38. </Compile>
  39. <Compile Update="Views\UC\TitleTextbox.axaml.cs">
  40. <DependentUpon>TitleTextBox.axaml</DependentUpon>
  41. </Compile>
  42. </ItemGroup>
  43. <ItemGroup>
  44. <Folder Include="Assets\" />
  45. </ItemGroup>
  46. <ItemGroup>
  47. <ProjectReference Include="..\PicView.Core\PicView.Core.csproj" />
  48. </ItemGroup>
  49. </Project>