-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathVideoDecoding.csproj
More file actions
38 lines (31 loc) · 1.64 KB
/
Copy pathVideoDecoding.csproj
File metadata and controls
38 lines (31 loc) · 1.64 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>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Dynamsoft.DotNet.BarcodeReader.Bundle" Version="11.6.1000" />
<PackageReference Include="OpenCvSharp4" Version="4.11.0.20250507" />
</ItemGroup>
<!-- Windows -->
<ItemGroup Condition="$(RuntimeIdentifier.StartsWith('win')) Or ($(RuntimeIdentifier) == '' And $([MSBuild]::IsOSPlatform('Windows')))">
<PackageReference Include="OpenCvSharp4.runtime.win" Version="4.11.0.20250507" />
</ItemGroup>
<!-- Linux x64 -->
<ItemGroup Condition="$(RuntimeIdentifier.StartsWith('linux')) And !$(RuntimeIdentifier.Contains('arm'))">
<PackageReference Include="OpenCvSharp4.official.runtime.linux-x64" Version="4.11.0.20250507" />
</ItemGroup>
<!-- Linux ARM -->
<ItemGroup Condition="$(RuntimeIdentifier.StartsWith('linux')) And $(RuntimeIdentifier.Contains('arm'))">
<PackageReference Include="OpenCvSharp4.runtime.linux-arm" Version="4.11.0.20250506" />
</ItemGroup>
<!-- Fallback: no RID specified and on Linux/macOS (local dev) -->
<ItemGroup Condition="$(RuntimeIdentifier) == '' And $([MSBuild]::IsOSPlatform('Linux'))">
<PackageReference Include="OpenCvSharp4.official.runtime.linux-x64" Version="4.11.0.20250507" />
</ItemGroup>
<ItemGroup Condition="$(RuntimeIdentifier.StartsWith('linux')) And $(RuntimeIdentifier.Contains('arm'))">
<PackageReference Include="OpenCvSharp4.runtime.linux-arm" Version="4.11.0.20250506" />
</ItemGroup>
</Project>