39 lines
1.3 KiB
XML
39 lines
1.3 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="Microsoft.Extensions.Logging.Abstractions" Version="10.0.14" />
|
|
<PackageReference Include="Microsoft.Extensions.Options" Version="10.0.14" />
|
|
</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>
|
|
</ItemGroup>
|
|
|
|
</Project>
|