52 lines
2.3 KiB
XML
52 lines
2.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
||
<PropertyGroup>
|
||
<TargetFramework>net8.0-windows7.0</TargetFramework>
|
||
<UseWPF>true</UseWPF>
|
||
<Platforms>x64</Platforms>
|
||
<PlatformTarget>x64</PlatformTarget>
|
||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||
</PropertyGroup>
|
||
<ItemGroup>
|
||
<PackageReference Include="Prism.Wpf" Version="9.0.537" />
|
||
<PackageReference Include="Telerik.UI.for.Wpf.NetCore.Xaml" Version="2024.1.408" PrivateAssets="all" />
|
||
</ItemGroup>
|
||
<ItemGroup>
|
||
<ProjectReference Include="..\XP.Common\XP.Common.csproj" />
|
||
</ItemGroup>
|
||
<ItemGroup>
|
||
<!-- 从 ExternalLibraries 目录统一引用原生 DLL(已纳入版本管理,避免 bin 被 .gitignore 忽略导致他人编译失败)
|
||
Reference native DLLs from ExternalLibraries (version-controlled, avoids build failure since bin is gitignored) -->
|
||
<!-- 确保 xisl.dll 复制到输出目录 | Ensure xisl.dll is copied to output directory -->
|
||
<None Include="..\ExternalLibraries\xisl.dll">
|
||
<Link>xisl.dll</Link>
|
||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||
</None>
|
||
<!-- 确保 FpdSys.dll 复制到输出目录(IRay 平板探测器 SDK)| Ensure FpdSys.dll is copied to output directory (IRay FPD SDK) -->
|
||
<None Include="..\ExternalLibraries\FpdSys.dll">
|
||
<Link>FpdSys.dll</Link>
|
||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||
</None>
|
||
</ItemGroup>
|
||
<ItemGroup>
|
||
<!-- 预设配置文件复制到输出目录(可选覆盖代码默认值)| Preset config files copied to output (optional override for code defaults) -->
|
||
<Content Include="Config\Presets\VarexPresets.json">
|
||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||
</Content>
|
||
<Content Include="Config\Presets\IRayPresets.json">
|
||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||
</Content>
|
||
</ItemGroup>
|
||
<ItemGroup>
|
||
<Compile Update="Resources\Resources.Designer.cs">
|
||
<DesignTime>True</DesignTime>
|
||
<AutoGen>True</AutoGen>
|
||
<DependentUpon>Resources.resx</DependentUpon>
|
||
</Compile>
|
||
</ItemGroup>
|
||
<ItemGroup>
|
||
<EmbeddedResource Update="Resources\Resources.resx">
|
||
<Generator>ResXFileCodeGenerator</Generator>
|
||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||
</EmbeddedResource>
|
||
</ItemGroup>
|
||
</Project> |