PicView.Avalonia.MacOS.csproj 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <OutputType>WinExe</OutputType>
  4. <!--If you are willing to use Windows/MacOS native APIs you will need to create 3 projects.
  5. One for Windows with net7.0-windows TFM, one for MacOS with net7.0-macos and one with net7.0 TFM for Linux.-->
  6. <TargetFramework>net8.0</TargetFramework>
  7. <Nullable>enable</Nullable>
  8. <BuiltInComInteropSupport>true</BuiltInComInteropSupport>
  9. <ApplicationManifest>app.manifest</ApplicationManifest>
  10. <Company>Ruben Hyldgaard Negendahl</Company>
  11. <Product>PicView</Product>
  12. <UseAppHost>true</UseAppHost>
  13. <AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
  14. </PropertyGroup>
  15. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
  16. <DebugType>none</DebugType>
  17. </PropertyGroup>
  18. <ItemGroup>
  19. <PackageReference Include="Avalonia.Desktop" Version="11.1.0-rc1" />
  20. <PackageReference Include="Avalonia.Themes.Simple" Version="11.1.0-rc1" />
  21. </ItemGroup>
  22. <ItemGroup>
  23. <ProjectReference Include="..\PicView.Avalonia\PicView.Avalonia.csproj" />
  24. <ProjectReference Include="..\PicView.Core\PicView.Core.csproj" />
  25. <ProjectReference Include="..\PicView.MacOS\PicView.MacOS.csproj" />
  26. </ItemGroup>
  27. <ItemGroup>
  28. <AvaloniaXaml Update="Views\ExifWindow.axaml">
  29. <SubType>Designer</SubType>
  30. </AvaloniaXaml>
  31. </ItemGroup>
  32. <ItemGroup>
  33. <Compile Update="App.axaml.cs">
  34. <DependentUpon>App.axaml</DependentUpon>
  35. </Compile>
  36. <Compile Update="Views\ExifWindow.axaml.cs">
  37. <SubType>Code</SubType>
  38. <DependentUpon>%(Filename)</DependentUpon>
  39. </Compile>
  40. </ItemGroup>
  41. <ItemGroup>
  42. <InternalsVisibleTo Include="PicView.Tests" />
  43. </ItemGroup>
  44. <ItemGroup>
  45. <UpToDateCheckInput Remove="Views\SettingsWindow.axaml" />
  46. </ItemGroup>
  47. </Project>