naps2/NAPS2.Images.Gdi/NAPS2.Images.Gdi.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

28 lines
943 B
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net5;net462;netcoreapp2.1;netstandard2.0</TargetFrameworks>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<RootNamespace>NAPS2.Images.Gdi</RootNamespace>
<Title>NAPS2.Images.Gdi</Title>
<Copyright>Copyright 2022 Ben Olden-Cooligan</Copyright>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\NAPS2.Images\NAPS2.Images.csproj" />
<PackageReference Include="System.Drawing.Common" Version="5.0.3" />
</ItemGroup>
<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>NAPS2.Sdk.Tests</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
<Import Project="..\NAPS2.Setup\CommonTargets.targets" />
<Import Project="..\NAPS2.Setup\ImageUsers.targets" />
</Project>