mirror of
https://github.com/cyanfish/naps2.git
synced 2024-09-11 15:26:55 +03:00
57 lines
2.8 KiB
XML
57 lines
2.8 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('Windows'))">net462;net8-windows</TargetFrameworks>
|
|
<TargetFrameworks Condition="!$([MSBuild]::IsOSPlatform('Windows'))">net8</TargetFrameworks>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>
|
|
|
|
<DefineConstants Condition="$([MSBuild]::IsOSPlatform('OSX'))">MAC</DefineConstants>
|
|
<DefineConstants Condition="$([MSBuild]::IsOSPlatform('Linux'))">LINUX</DefineConstants>
|
|
<DefineConstants Condition="$([MSBuild]::IsOSPlatform('Windows'))">WINDOWS</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<Import Project="..\NAPS2.Setup\targets\CommonTargets.targets" />
|
|
<Import Project="..\NAPS2.Setup\targets\SdkUsers.targets" />
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\NAPS2.Sdk\NAPS2.Sdk.csproj" />
|
|
<ProjectReference Include="..\NAPS2.Images.Gdi\NAPS2.Images.Gdi.csproj" Condition="$([MSBuild]::IsOSPlatform('Windows'))" />
|
|
<ProjectReference Include="..\NAPS2.Images.Wpf\NAPS2.Images.Wpf.csproj" Condition="$([MSBuild]::IsOSPlatform('Windows'))" />
|
|
<ProjectReference Include="..\NAPS2.Images.Mac\NAPS2.Images.Mac.csproj" Condition="$([MSBuild]::IsOSPlatform('OSX'))" />
|
|
<ProjectReference Include="..\NAPS2.Images.Gtk\NAPS2.Images.Gtk.csproj" Condition="$([MSBuild]::IsOSPlatform('Linux'))" />
|
|
<ProjectReference Include="..\NAPS2.Images.ImageSharp\NAPS2.Images.ImageSharp.csproj" Condition="'$(TargetFramework)' == 'net8' or '$(TargetFramework)' == 'net8-windows'" />
|
|
<ProjectReference Include="..\NAPS2.Escl.Server\NAPS2.Escl.Server.csproj" />
|
|
|
|
<PackageReference Include="NAPS2.Pdfium.Binaries" Version="1.1.0" />
|
|
<PackageReference Include="NAPS2.Tesseract.Binaries" Version="1.2.0" />
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
|
|
<PackageReference Include="NSubstitute" Version="5.0.0" />
|
|
<PackageReference Include="PdfAValidator" Version="2.1.109" />
|
|
<PackageReference Include="System.Linq.Async" Version="6.0.1" />
|
|
<PackageReference Include="xunit" Version="2.6.2" />
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.4" PrivateAssets="all" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
|
|
<_Parameter1>NAPS2.Lib.Tests</_Parameter1>
|
|
</AssemblyAttribute>
|
|
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
|
|
<_Parameter1>NAPS2.App.Tests</_Parameter1>
|
|
</AssemblyAttribute>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<EmbeddedResource Update="**/*.resx">
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Update="TestImageContextFactory.cs">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
</ItemGroup>
|
|
|
|
</Project> |