2020-01-30 06:40:42 +03:00
|
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
|
|
2013-11-30 23:44:17 +04:00
|
|
|
|
<PropertyGroup>
|
2022-10-14 05:09:37 +03:00
|
|
|
|
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('Linux'))">net6;net462</TargetFrameworks>
|
|
|
|
|
<TargetFrameworks Condition="!$([MSBuild]::IsOSPlatform('Linux'))">net6;net6-macos10.15;net462</TargetFrameworks>
|
2020-02-09 18:57:24 +03:00
|
|
|
|
<Nullable>enable</Nullable>
|
2020-01-30 06:40:42 +03:00
|
|
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
|
|
|
<RootNamespace>NAPS2</RootNamespace>
|
|
|
|
|
|
2022-09-11 20:50:38 +03:00
|
|
|
|
<Title>NAPS2 - Not Another PDF Scanner</Title>
|
|
|
|
|
<Product>NAPS2 - Not Another PDF Scanner</Product>
|
2020-01-30 06:40:42 +03:00
|
|
|
|
<Copyright>Copyright 2009, 2012-2020 NAPS2 Contributors; Icons from http://www.fatcow.com/free-icons</Copyright>
|
2022-12-25 02:34:39 +03:00
|
|
|
|
<Configurations>Debug;Release;DebugLang;Release-Msi;Release-Zip</Configurations>
|
2013-11-30 23:44:17 +04:00
|
|
|
|
</PropertyGroup>
|
2020-02-04 02:34:27 +03:00
|
|
|
|
|
2022-12-20 01:17:28 +03:00
|
|
|
|
<Import Project="..\NAPS2.Setup\targets\CommonTargets.targets" />
|
|
|
|
|
<Import Project="..\NAPS2.Setup\targets\SdkUsers.targets" />
|
2020-01-30 06:40:42 +03:00
|
|
|
|
|
2019-03-17 04:42:20 +03:00
|
|
|
|
<PropertyGroup Condition="'$(OS)' != 'Windows_NT'">
|
2020-01-30 06:40:42 +03:00
|
|
|
|
<DefineConstants>NONWINDOWS</DefineConstants>
|
2015-05-07 02:25:35 +03:00
|
|
|
|
</PropertyGroup>
|
2022-12-25 02:34:39 +03:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-Msi|AnyCPU'">
|
|
|
|
|
<DefineConstants>MSI</DefineConstants>
|
2015-05-07 02:25:35 +03:00
|
|
|
|
</PropertyGroup>
|
2022-12-25 02:34:39 +03:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-Zip|AnyCPU'">
|
|
|
|
|
<DefineConstants>ZIP</DefineConstants>
|
2013-11-30 23:44:17 +04:00
|
|
|
|
</PropertyGroup>
|
2022-09-25 03:52:55 +03:00
|
|
|
|
<PropertyGroup Condition="'$(TargetFramework)' == 'net6-macos10.15'">
|
|
|
|
|
<DefineConstants>MAC</DefineConstants>
|
|
|
|
|
</PropertyGroup>
|
2020-01-30 06:40:42 +03:00
|
|
|
|
|
2013-11-30 23:44:17 +04:00
|
|
|
|
<ItemGroup>
|
2022-08-04 05:44:51 +03:00
|
|
|
|
<PackageReference Include="SharpZipLib" Version="1.3.3" />
|
|
|
|
|
<PackageReference Include="SixLabors.Fonts" Version="1.0.0-beta18" />
|
|
|
|
|
<Reference Include="PdfSharpCore">
|
|
|
|
|
<HintPath>..\NAPS2.Setup\lib\PdfSharpCore.dll</HintPath>
|
2013-11-30 23:44:17 +04:00
|
|
|
|
</Reference>
|
2020-01-30 06:40:42 +03:00
|
|
|
|
|
2022-08-05 03:15:43 +03:00
|
|
|
|
<PackageReference Include="Grpc.Tools" Version="2.47.0" PrivateAssets="all" />
|
2022-11-06 06:58:38 +03:00
|
|
|
|
<PackageReference Include="GrpcDotNetNamedPipes" Version="2.0.0" />
|
2022-09-25 03:52:55 +03:00
|
|
|
|
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" Condition="'$(TargetFramework)' != 'net6-macos10.15'" />
|
|
|
|
|
<PackageReference Include="NAPS2.Wia" Version="1.0.1" Condition="'$(TargetFramework)' != 'net6-macos10.15'" />
|
2022-07-02 20:30:31 +03:00
|
|
|
|
<!-- Hide compatibility warnings for NTwain as it will only be actually used on Windows. -->
|
2022-08-17 07:02:01 +03:00
|
|
|
|
<!-- TODO: Does this actually work if we build a net6 framework-dependent app and try to use Twain? -->
|
2022-09-25 03:52:55 +03:00
|
|
|
|
<PackageReference Include="NTwain" Version="3.7.1" NoWarn="NU1701" Condition="'$(TargetFramework)' != 'net6-macos10.15'" />
|
2022-09-13 04:23:42 +03:00
|
|
|
|
<PackageReference Include="Nullable" Version="1.2.0" Condition="'$(TargetFramework)' == 'net462'" />
|
2022-07-02 23:26:37 +03:00
|
|
|
|
<PackageReference Include="System.Collections.Immutable" Version="6.0.0" />
|
2022-06-19 06:48:45 +03:00
|
|
|
|
<PackageReference Include="System.Resources.Extensions" Version="6.0.0" />
|
2022-07-02 23:26:37 +03:00
|
|
|
|
<PackageReference Include="System.Threading.Tasks.Dataflow" Version="6.0.0" />
|
2022-06-19 06:48:45 +03:00
|
|
|
|
<PackageReference Include="ZXing.Net" Version="0.16.8" />
|
2013-11-30 23:44:17 +04:00
|
|
|
|
</ItemGroup>
|
2020-01-30 06:40:42 +03:00
|
|
|
|
|
2013-11-30 23:44:17 +04:00
|
|
|
|
<ItemGroup>
|
2020-01-30 06:40:42 +03:00
|
|
|
|
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
|
2020-02-10 00:00:53 +03:00
|
|
|
|
<_Parameter1>NAPS2.Sdk.Tests</_Parameter1>
|
|
|
|
|
</AssemblyAttribute>
|
|
|
|
|
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
|
2022-08-21 03:46:18 +03:00
|
|
|
|
<_Parameter1>NAPS2.Lib</_Parameter1>
|
2020-02-10 00:00:53 +03:00
|
|
|
|
</AssemblyAttribute>
|
|
|
|
|
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
|
|
|
|
|
<_Parameter1>NAPS2.Lib.Tests</_Parameter1>
|
2020-02-02 22:26:30 +03:00
|
|
|
|
</AssemblyAttribute>
|
2022-06-19 03:25:19 +03:00
|
|
|
|
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
|
|
|
|
|
<_Parameter1>NAPS2.Lib.WinForms</_Parameter1>
|
|
|
|
|
</AssemblyAttribute>
|
2020-02-02 22:26:30 +03:00
|
|
|
|
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
|
|
|
|
|
<_Parameter1>DynamicProxyGenAssembly2</_Parameter1>
|
2020-01-30 06:40:42 +03:00
|
|
|
|
</AssemblyAttribute>
|
|
|
|
|
|
|
|
|
|
<Protobuf Include="**/*.proto" Access="Public" />
|
2013-11-30 23:44:17 +04:00
|
|
|
|
</ItemGroup>
|
2020-01-30 06:40:42 +03:00
|
|
|
|
|
2013-11-30 23:44:17 +04:00
|
|
|
|
<ItemGroup>
|
2022-12-18 00:44:21 +03:00
|
|
|
|
<!-- <ProjectReference Include="..\NAPS2.Escl.Client\NAPS2.Escl.Client.csproj" />-->
|
|
|
|
|
<!-- <ProjectReference Include="..\NAPS2.Escl.Server\NAPS2.Escl.Server.csproj" />-->
|
2022-06-19 03:25:19 +03:00
|
|
|
|
<ProjectReference Include="..\NAPS2.Images\NAPS2.Images.csproj" />
|
2013-11-30 23:44:17 +04:00
|
|
|
|
</ItemGroup>
|
2020-01-30 06:40:42 +03:00
|
|
|
|
|
2021-12-23 04:45:22 +03:00
|
|
|
|
<ItemGroup>
|
2022-06-19 03:25:19 +03:00
|
|
|
|
<Folder Include="ImportExport\Email\Oauth" />
|
2021-12-23 04:45:22 +03:00
|
|
|
|
</ItemGroup>
|
2022-07-07 04:22:30 +03:00
|
|
|
|
|
|
|
|
|
<ItemGroup Condition="'$(Configuration)' == 'Debug'">
|
|
|
|
|
|
|
|
|
|
<EmbeddedResource Remove="Lang\Resources\SdkResources.*.resx" Condition="'$(Configuration)' == 'Debug'" />
|
|
|
|
|
<EmbeddedResource Update="Lang\Resources\SdkResources.*.resx">
|
|
|
|
|
<DependentUpon>SdkResources.resx</DependentUpon>
|
|
|
|
|
</EmbeddedResource>
|
|
|
|
|
|
|
|
|
|
</ItemGroup>
|
2021-12-23 04:45:22 +03:00
|
|
|
|
|
2013-11-30 23:44:17 +04:00
|
|
|
|
</Project>
|