naps2/NAPS2.App.Console/NAPS2.App.Console.csproj
Ben Olden-Cooligan 3eda15242a Build net5 instead of net6
Seems like there's either a net6 bug or something wrong with my local install, as starting the worker works on net5 but not net6 ("hostfxr.dll" error message when running from Rider).

Plus net5 is probably a good general target right now in terms of compatibility, too.
2022-06-19 18:33:00 -07:00

32 lines
1.3 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net5-windows;net462</TargetFrameworks>
<OutputType>Exe</OutputType>
<LargeAddressAware>true</LargeAddressAware>
<RootNamespace>NAPS2.Console</RootNamespace>
<AssemblyName>NAPS2.Console</AssemblyName>
<Title>NAPS2 (Not Another PDF Scanner 2)</Title>
<Product>NAPS2 (Not Another PDF Scanner 2)</Product>
<Copyright>Copyright 2009, 2012-2020 NAPS2 Contributors; Icons from http://www.fatcow.com/free-icons</Copyright>
<!--
We reference the 32-bit worker directly so the EXE is included in the output.
TODO: Is there a better way to do this?
-->
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
</PropertyGroup>
<Import Project="..\NAPS2.Setup\CommonTargets.targets" />
<Import Project="..\NAPS2.Setup\NativeLibs.targets" />
<Import Project="..\NAPS2.Setup\SdkUsers.targets" />
<ItemGroup>
<PackageReference Include="NAPS2.Wia" Version="1.0.1" />
<ProjectReference Include="..\NAPS2.App.Worker\NAPS2.App.Worker.csproj" />
<ProjectReference Include="..\NAPS2.Lib.Console\NAPS2.Lib.Console.csproj" />
<PackageReference Include="LargeAddressAware" Version="1.0.3" />
</ItemGroup>
</Project>