-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathOpenCvSharp.Tests.Avalonia.csproj
More file actions
38 lines (33 loc) · 1.7 KB
/
Copy pathOpenCvSharp.Tests.Avalonia.csproj
File metadata and controls
38 lines (33 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<OutputType>Exe</OutputType>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>12</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<!-- No ProjectReference to OpenCvSharp.Tests: it pulls in SkiaSharp 4.x (for its own
cross-platform image decoding), which collides with the SkiaSharp 3.x that
Avalonia.Skia depends on and breaks native library loading at test time. -->
<ProjectReference Include="..\..\src\OpenCvSharp.AvaloniaExtensions\OpenCvSharp.AvaloniaExtensions.csproj" />
<ProjectReference Include="..\..\src\OpenCvSharp\OpenCvSharp.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.9.0" />
<!-- Avalonia.Headless.XUnit 12.1.1 calls xUnit 3 discovery internals that changed in xUnit 4.
Use HeadlessUnitTestSession directly until the integration package supports xUnit 4. -->
<PackageReference Include="Avalonia.Headless" Version="12.1.2" />
<!-- Real Skia-backed WriteableBitmap storage for the tests; not needed by the library itself. -->
<PackageReference Include="Avalonia.Skia" Version="12.1.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="4.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="xunit.v3" Version="4.0.0" />
</ItemGroup>
<PropertyGroup>
<NoWarn>CA1303;CA1510;CA1512;CA1513;CA1814;</NoWarn>
</PropertyGroup>
</Project>