naps2/NAPS2.App.Gtk/NAPS2.App.Gtk.csproj
Ben Olden-Cooligan 0a7349ced6 Upgrade Eto.Forms to 2.8.3
This allows removing several workarounds due to upstream fixes.
2024-03-15 18:48:51 -07:00

44 lines
1.7 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8</TargetFramework>
<OutputType>Exe</OutputType>
<RootNamespace>NAPS2</RootNamespace>
<AssemblyName>naps2</AssemblyName>
<ApplicationIcon>../NAPS2.Lib/Icons/favicon.ico</ApplicationIcon>
<SelfContained>true</SelfContained>
<PublishSingleFile>true</PublishSingleFile>
<PublishTrimmed>true</PublishTrimmed>
<TrimMode>partial</TrimMode>
<RuntimeIdentifiers>linux-x64;linux-arm64</RuntimeIdentifiers>
<Title>NAPS2 - Not Another PDF Scanner</Title>
<Product>NAPS2 - Not Another PDF Scanner</Product>
</PropertyGroup>
<Import Project="..\NAPS2.Setup\targets\CommonTargets.targets" />
<Import Project="..\NAPS2.Setup\targets\SdkUsers.targets" />
<ItemGroup>
<PackageReference Include="NAPS2.Pdfium.Binaries" Version="1.1.0" />
<PackageReference Include="NAPS2.Tesseract.Binaries" Version="1.2.0" />
<ProjectReference Include="..\NAPS2.Lib.Gtk\NAPS2.Lib.Gtk.csproj" />
<PackageReference Include="Eto.Platform.Gtk" Version="2.8.3" />
<!-- This shouldn't need a reference normally, but otherwise "dotnet restore" doesn't pick
it up, which breaks the flatpak build. -->
<PackageReference Include="Microsoft.NETCore.App" Version="2.1.*" />
</ItemGroup>
<ItemGroup>
<ContentWithTargetPath Include="..\NAPS2.Setup\appsettings.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<Link>appsettings.xml</Link>
<TargetPath>appsettings.xml</TargetPath>
</ContentWithTargetPath>
</ItemGroup>
</Project>