86 lines
2.9 KiB
XML
86 lines
2.9 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net8.0-windows</TargetFramework>
|
|
<UseWPF>true</UseWPF>
|
|
<RootNamespace>XplorePlane</RootNamespace>
|
|
<AssemblyName>XplorePlane</AssemblyName>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Remove="MainWindow.xaml.cs" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Remove="XplorePlane.csproj.Backup.tmp" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Page Remove="MainWindow.xaml" />
|
|
</ItemGroup>
|
|
|
|
<!-- NuGet 包引用 -->
|
|
<ItemGroup>
|
|
<PackageReference Include="Prism.DryIoc" Version="9.0.537" />
|
|
<PackageReference Include="Fluent.Ribbon" Version="9.0.0" />
|
|
|
|
<!-- 硬件库依赖的 NuGet 包 -->
|
|
<PackageReference Include="Serilog" Version="4.3.1" />
|
|
<PackageReference Include="Serilog.Sinks.Console" Version="6.1.1" />
|
|
<PackageReference Include="Serilog.Sinks.File" Version="7.0.0" />
|
|
<PackageReference Include="Serilog.Sinks.Debug" Version="3.0.0" />
|
|
<PackageReference Include="System.Data.SQLite" Version="1.0.118" />
|
|
<PackageReference Include="System.Configuration.ConfigurationManager" Version="8.0.0" />
|
|
</ItemGroup>
|
|
|
|
<!-- DLL 引用 -->
|
|
<ItemGroup>
|
|
<!-- 硬件库 DLL 引用 -->
|
|
<Reference Include="XplorePlane.Common">
|
|
<HintPath>Libs\Hardware\XplorePlane.Common.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
|
|
<Reference Include="XplorePlane.Hardware.RaySource">
|
|
<HintPath>Libs\Hardware\XplorePlane.Hardware.RaySource.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
|
|
<Reference Include="XplorePlane.Hardware.Detector">
|
|
<HintPath>Libs\Hardware\XplorePlane.Hardware.Detector.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
|
|
<Reference Include="XplorePlane.Hardware.PLC">
|
|
<HintPath>Libs\Hardware\XplorePlane.Hardware.PLC.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
|
|
<!-- 原生依赖库引用 -->
|
|
<Reference Include="BR.AN.PviServices">
|
|
<HintPath>Libs\Native\BR.AN.PviServices.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
</ItemGroup>
|
|
|
|
<!-- 确保 DLL 和原生库复制到输出目录 -->
|
|
<ItemGroup>
|
|
<!-- 硬件库 DLL -->
|
|
<None Include="Libs\Hardware\*.dll" Condition="Exists('Libs\Hardware')">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<None Include="Libs\Hardware\*.pdb" Condition="Exists('Libs\Hardware')">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
|
|
<!-- 原生依赖库 -->
|
|
<None Include="Libs\Native\*.dll" Condition="Exists('Libs\Native')">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
|
|
<!-- 配置文件 -->
|
|
<None Update="App.config">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
</Project> |