naps2/NAPS2.Sdk/NAPS2.Sdk.csproj

92 lines
4.3 KiB
XML
Raw Normal View History

2020-01-30 06:40:42 +03:00
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<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>
<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>
</PropertyGroup>
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
<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>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net6-macos10.15'">
<DefineConstants>MAC</DefineConstants>
</PropertyGroup>
2020-01-30 06:40:42 +03:00
<ItemGroup>
<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>
</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" />
<PackageReference Include="GrpcDotNetNamedPipes" Version="2.0.0" />
<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. -->
<!-- TODO: Does this actually work if we build a net6 framework-dependent app and try to use Twain? -->
<PackageReference Include="NTwain" Version="3.7.1" NoWarn="NU1701" Condition="'$(TargetFramework)' != 'net6-macos10.15'" />
<PackageReference Include="Nullable" Version="1.2.0" Condition="'$(TargetFramework)' == 'net462'" />
<PackageReference Include="System.Collections.Immutable" Version="6.0.0" />
<PackageReference Include="System.Resources.Extensions" Version="6.0.0" />
<PackageReference Include="System.Threading.Tasks.Dataflow" Version="6.0.0" />
<PackageReference Include="ZXing.Net" Version="0.16.8" />
</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">
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>
<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" />
</ItemGroup>
2020-01-30 06:40:42 +03: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" />-->
<ProjectReference Include="..\NAPS2.Images\NAPS2.Images.csproj" />
</ItemGroup>
2020-01-30 06:40:42 +03:00
<ItemGroup>
<Folder Include="ImportExport\Email\Oauth" />
</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>
</Project>