48 lines
1.9 KiB
XML
48 lines
1.9 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>
|
|
|
|
<!--
|
|
NIST 谱线库与光栅修正数据,扫描分析按相对路径 db 加载,必须复制到输出目录。
|
|
CfLibs 的 .cs 文件仍然参与编译,这里只复制数据文件。
|
|
-->
|
|
<ItemGroup>
|
|
<Content Include="db\**\*" Exclude="db\**\*.cs">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
<!--
|
|
位移台原生库,P/Invoke 按文件名加载,必须位于可执行文件同目录
|
|
-->
|
|
<ItemGroup>
|
|
<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>
|