55 lines
2.2 KiB
XML
55 lines
2.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="FlashCap" Version="1.12.0" />
|
|
<PackageReference Include="LiteDB" Version="5.0.21" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.14" />
|
|
<PackageReference Include="Microsoft.Extensions.Options" Version="10.0.14" />
|
|
<PackageReference Include="Microsoft.ML.OnnxRuntime" Version="1.20.1" />
|
|
<PackageReference Include="OpenCvSharp4" Version="4.10.0.20241108" />
|
|
<PackageReference Include="OpenCvSharp4.runtime.win" Version="4.10.0.20241108" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Reference Include="ArisSharp">
|
|
<HintPath>dll\aris\ArisSharp.dll</HintPath>
|
|
</Reference>
|
|
</ItemGroup>
|
|
|
|
<!--
|
|
aris.dll / libusb-1.0.dll 是 ArisSharp.dll 的原生依赖,必须和可执行文件放在同一目录。
|
|
作为项目内容复制,引用本项目的 HardwareWeb / HardwareProbe 输出目录也会带上它们。
|
|
-->
|
|
<ItemGroup>
|
|
<None Update="dll\aris\aris.dll">
|
|
<Link>aris.dll</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
</None>
|
|
<None Update="dll\aris\libusb-1.0.dll">
|
|
<Link>libusb-1.0.dll</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
</None>
|
|
<!-- 位移台原生库,P/Invoke 按文件名加载,必须位于可执行文件同目录 -->
|
|
<None Update="dll\AxisPlatform2.dll">
|
|
<Link>AxisPlatform2.dll</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
</None>
|
|
<!-- 对焦系统原生库,P/Invoke 按文件名加载,必须位于可执行文件同目录 -->
|
|
<None Update="dll\FocusSystem2.dll">
|
|
<Link>FocusSystem2.dll</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
</Project>
|