naps2/NAPS2.Sdk/NAPS2.Sdk.csproj

104 lines
4.8 KiB
XML
Raw Normal View History

2020-01-30 06:40:42 +03:00
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
2022-06-19 21:02:32 +03:00
<TargetFrameworks>net6;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>
<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>
2020-02-09 22:35:28 +03:00
<Configurations>Debug;InstallerEXE;DebugLang;InstallerMSI;Standalone</Configurations>
</PropertyGroup>
2020-01-30 06:40:42 +03:00
<Import Project="..\NAPS2.Setup\CommonTargets.targets" />
<Import Project="..\NAPS2.Setup\SdkUsers.targets" />
2020-01-30 06:40:42 +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>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'InstallerEXE|AnyCPU'">
2020-01-30 06:40:42 +03:00
<DefineConstants>INSTALLER INSTALLER_EXE</DefineConstants>
2015-05-07 02:25:35 +03:00
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'InstallerMSI|AnyCPU'">
2020-01-30 06:40:42 +03:00
<DefineConstants>INSTALLER INSTALLER_MSI</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Standalone|AnyCPU'">
2020-01-30 06:40:42 +03:00
<DefineConstants>STANDALONE</DefineConstants>
</PropertyGroup>
2020-01-30 06:40:42 +03:00
<PropertyGroup>
<PreBuildEvent Condition="'$(OS)' == 'Windows_NT'">If Not Exist $(ProjectDir)google.credentials.json (
echo {} &gt; $(ProjectDir)google.credentials.json
)
If Not Exist $(ProjectDir)microsoft.credentials.json (
echo { client_id: null, client_secret: null } &gt; $(ProjectDir)microsoft.credentials.json
)</PreBuildEvent>
</PropertyGroup>
2020-01-30 06:40:42 +03:00
<ItemGroup>
<Reference Include="NTwain, Version=3.0.0.0, Culture=neutral, PublicKeyToken=f9f7e0c5169536c8, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
2018-11-25 20:37:54 +03:00
<HintPath>..\NAPS2.Setup\lib\NTwain.dll</HintPath>
</Reference>
<Reference Include="PdfSharp">
2018-11-25 20:37:54 +03:00
<HintPath>..\NAPS2.Setup\lib\PdfSharp.dll</HintPath>
</Reference>
2020-01-30 06:40:42 +03:00
<PackageReference Include="BouncyCastle.NetCore" Version="1.9.0" />
2020-01-30 06:40:42 +03:00
<PackageReference Include="Grpc.Tools" Version="2.26.0" PrivateAssets="all" />
2021-12-17 23:59:14 +03:00
<PackageReference Include="GrpcDotNetNamedPipes" Version="1.4.2" />
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" />
2020-01-30 06:40:42 +03:00
<PackageReference Include="MimeKit" Version="1.22.0" />
<PackageReference Include="NAPS2.Wia" Version="1.0.1" />
2020-01-30 06:40:42 +03:00
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
2020-02-16 23:15:52 +03:00
<PackageReference Include="Nullable" Version="1.2.0" />
<PackageReference Include="System.Drawing.Common" Version="6.0.0" />
<PackageReference Include="System.Collections.Immutable" Version="5.0.0" />
<PackageReference Include="System.Resources.Extensions" Version="6.0.0" />
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="6.0.0" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="6.0.0" />
2020-01-30 06:40:42 +03:00
<PackageReference Include="System.Threading.Tasks.Dataflow" Version="4.11.0" />
<PackageReference Include="System.ValueTuple" Version="4.3.1" />
<PackageReference Include="ZXing.Net" Version="0.16.8" />
2022-06-19 21:02:32 +03:00
<PackageReference Include="ZXing.Net.Bindings.Windows.Compatibility" Version="0.16.10" Condition="'$(TargetFramework)' != 'net462'" />
</ItemGroup>
2020-01-30 06:40:42 +03: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">
<_Parameter1>NAPS2.Lib.Common</_Parameter1>
</AssemblyAttribute>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>NAPS2.Lib.Tests</_Parameter1>
2020-02-02 22:26:30 +03:00
</AssemblyAttribute>
<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>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
2020-02-10 00:00:53 +03:00
<_Parameter1>NAPS2.Sdk.Network</_Parameter1>
</AssemblyAttribute>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
2020-02-10 00:00:53 +03:00
<_Parameter1>NAPS2.Sdk.Network.Tests</_Parameter1>
</AssemblyAttribute>
2020-01-30 06:40:42 +03:00
<Protobuf Include="**/*.proto" Access="Public" />
</ItemGroup>
2020-01-30 06:40:42 +03:00
<ItemGroup>
<ProjectReference Include="..\NAPS2.Images.Gdi\NAPS2.Images.Gdi.csproj" />
<ProjectReference Include="..\NAPS2.Images\NAPS2.Images.csproj" />
</ItemGroup>
2020-01-30 06:40:42 +03:00
<ItemGroup>
<Folder Include="ImportExport\Email\Oauth" />
<Folder Include="Scan\Twain" />
</ItemGroup>
</Project>