mirror of
https://github.com/cyanfish/naps2.git
synced 2024-09-11 15:26:55 +03:00
105 lines
5.1 KiB
XML
105 lines
5.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>net6;net462</TargetFrameworks>
|
|
<TargetFrameworks Condition="!$([MSBuild]::IsOSPlatform('Linux')) and '$(Configuration)' != 'DebugNoMac'">
|
|
$(TargetFrameworks);net8-macos10.15
|
|
</TargetFrameworks>
|
|
<Nullable>enable</Nullable>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<RootNamespace>NAPS2</RootNamespace>
|
|
|
|
<Configurations>Debug;Release;DebugLang;DebugNoMac</Configurations>
|
|
|
|
<Title>NAPS2.Sdk</Title>
|
|
<Product>NAPS2.Sdk</Product>
|
|
<Description>NAPS2.Sdk is a fully-featured scanning library, supporting WIA, TWAIN, SANE, and ESCL scanners on Windows, Mac, and Linux.</Description>
|
|
<PackageTags>naps2 sdk scanner wia twain sane escl</PackageTags>
|
|
<PackageReadmeFile>README.md</PackageReadmeFile>
|
|
</PropertyGroup>
|
|
|
|
<Import Project="..\NAPS2.Setup\targets\CommonTargets.targets" />
|
|
<Import Project="..\NAPS2.Setup\targets\SdkUsers.targets" />
|
|
<Import Project="..\NAPS2.Setup\targets\SdkPackageTargets.targets" />
|
|
|
|
<PropertyGroup Condition="'$(TargetFramework)' == 'net8-macos10.15'">
|
|
<DefineConstants>MAC</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(AddDebugConstant)' == '1'">
|
|
<DefineConstants>$(DefineConstants);DEBUG</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Grpc.Tools" Version="2.59.0" PrivateAssets="all" />
|
|
<PackageReference Include="GrpcDotNetNamedPipes" Version="2.1.1" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" />
|
|
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" Condition="'$(TargetFramework)' != 'net8-macos10.15'" />
|
|
<PackageReference Include="NAPS2.NTwain" Version="1.0.0" Condition="'$(TargetFramework)' != 'net8-macos10.15'" />
|
|
<PackageReference Include="NAPS2.PdfSharp" Version="1.0.1" />
|
|
<PackageReference Include="NAPS2.Wia" Version="2.0.3" Condition="'$(TargetFramework)' != 'net8-macos10.15'" />
|
|
<PackageReference Include="Nullable" Version="1.3.1" PrivateAssets="all" Condition="'$(TargetFramework)' == 'net462'" />
|
|
<PackageReference Include="SharpZipLib" Version="1.4.2" />
|
|
<PackageReference Include="SixLabors.Fonts" Version="1.0.1" />
|
|
<PackageReference Include="System.Collections.Immutable" Version="8.0.0" />
|
|
<PackageReference Include="System.Resources.Extensions" Version="8.0.0" />
|
|
<PackageReference Include="System.Threading.Tasks.Dataflow" Version="8.0.0" />
|
|
<PackageReference Include="ZXing.Net" Version="0.16.9" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
|
|
<_Parameter1>NAPS2.Sdk.Tests</_Parameter1>
|
|
</AssemblyAttribute>
|
|
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
|
|
<_Parameter1>NAPS2.Lib</_Parameter1>
|
|
</AssemblyAttribute>
|
|
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
|
|
<_Parameter1>NAPS2.Lib.Tests</_Parameter1>
|
|
</AssemblyAttribute>
|
|
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
|
|
<_Parameter1>NAPS2.Lib.WinForms</_Parameter1>
|
|
</AssemblyAttribute>
|
|
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
|
|
<_Parameter1>NAPS2.Lib.Mac</_Parameter1>
|
|
</AssemblyAttribute>
|
|
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
|
|
<_Parameter1>NAPS2.Lib.Gtk</_Parameter1>
|
|
</AssemblyAttribute>
|
|
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
|
|
<_Parameter1>NAPS2.App.Tests</_Parameter1>
|
|
</AssemblyAttribute>
|
|
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
|
|
<_Parameter1>DynamicProxyGenAssembly2</_Parameter1>
|
|
</AssemblyAttribute>
|
|
|
|
<Protobuf Include="**/*.proto" Access="Internal" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\NAPS2.Escl\NAPS2.Escl.csproj" />
|
|
<ProjectReference Include="..\NAPS2.Images.Mac\NAPS2.Images.Mac.csproj" Condition="'$(TargetFramework)' == 'net8-macos10.15'" />
|
|
<ProjectReference Include="..\NAPS2.Images\NAPS2.Images.csproj" />
|
|
<ProjectReference Include="..\NAPS2.Internals\NAPS2.Internals.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Include="README.md" Pack="true" PackagePath="\" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<EmbeddedResource Remove="Lang\Resources\SdkResources.*.resx" Condition="'$(Configuration)' == 'Debug'" />
|
|
<EmbeddedResource Include="Lang\Resources\SdkResources.fr.resx" Condition="'$(Configuration)' == 'Debug'" />
|
|
<EmbeddedResource Include="Lang\Resources\SdkResources.he.resx" Condition="'$(Configuration)' == 'Debug'" />
|
|
<EmbeddedResource Include="Lang\Resources\SdkResources.pt-BR.resx" Condition="'$(Configuration)' == 'Debug'" />
|
|
<EmbeddedResource Update="Lang\Resources\SdkResources.*.resx">
|
|
<DependentUpon>SdkResources.resx</DependentUpon>
|
|
</EmbeddedResource>
|
|
|
|
<EmbeddedResource Update="**/*.resx">
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
</EmbeddedResource>
|
|
|
|
</ItemGroup>
|
|
|
|
</Project> |