mirror of
https://github.com/cyanfish/naps2.git
synced 2024-09-11 15:26:55 +03:00
54 lines
2.0 KiB
XML
54 lines
2.0 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>net6;net8-macos10.15</TargetFrameworks>
|
|
<Nullable>enable</Nullable>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<CheckEolTargetFramework>false</CheckEolTargetFramework>
|
|
<RootNamespace>NAPS2.Images.Mac</RootNamespace>
|
|
|
|
<Title>NAPS2.Images.Mac</Title>
|
|
<Product>NAPS2.Images.Mac</Product>
|
|
<Description>Images based on AppKit.NSImage for NAPS2.Sdk.</Description>
|
|
<PackageTags>naps2</PackageTags>
|
|
</PropertyGroup>
|
|
|
|
<Import Project="..\NAPS2.Setup\targets\SdkPackageTargets.targets" />
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\NAPS2.Images\NAPS2.Images.csproj" />
|
|
<PackageReference Include="Eto.Platform.Mac64" Version="2.8.3" Condition="'$(TargetFramework)' == 'net6'" />
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup Condition="'$(TargetFramework)' == 'net6'">
|
|
<DefineConstants>MONOMAC</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'net6'">
|
|
<Using Include="MonoMac.AppKit" />
|
|
<Using Include="MonoMac.CoreGraphics" />
|
|
<Using Include="MonoMac.Foundation" />
|
|
<Using Include="MonoMac.ImageIO" />
|
|
<Using Include="MonoMac.MobileCoreServices" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'net8-macos10.15'">
|
|
<Using Include="AppKit" />
|
|
<Using Include="CoreGraphics" />
|
|
<Using Include="Foundation" />
|
|
<Using Include="ImageIO" />
|
|
<Using Include="MobileCoreServices" />
|
|
<Using Include="System.Runtime.InteropServices" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
|
|
<_Parameter1>NAPS2.Sdk.Tests</_Parameter1>
|
|
</AssemblyAttribute>
|
|
</ItemGroup>
|
|
|
|
<Import Project="..\NAPS2.Setup\targets\CommonTargets.targets" />
|
|
<Import Project="..\NAPS2.Setup\targets\ImageUsers.targets" />
|
|
|
|
</Project>
|