<Project Sdk="Microsoft.NET.Sdk">

	<PropertyGroup>
		<TargetFramework>net8.0-windows</TargetFramework>
		<ImplicitUsings>enable</ImplicitUsings>
		<Nullable>enable</Nullable>
		<BaseOutputPath>..\</BaseOutputPath>
		<AppendTargetFrameworkToOutputPath>output</AppendTargetFrameworkToOutputPath>
		<UseWindowsForms>true</UseWindowsForms>
		<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
		<Platforms>AnyCPU;x64</Platforms>
		<OutputType>WinExe</OutputType>
		<ApplicationIcon>assets\logo.ico</ApplicationIcon>
	</PropertyGroup>




	





	<ItemGroup>
	  <Content Include="assets\logo.ico" />
	  <Content Include="assets\screenshots\favicon.ico" />
	  <Content Include="db\config.json">
	    <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
	  </Content>
	</ItemGroup>




	





	
























  <ItemGroup>
    <PackageReference Include="AntdUI" Version="1.8.9" />
    <PackageReference Include="SqlSugarCore" Version="5.1.4.185" />
    <PackageReference Include="System.Data.SQLite.Core" Version="1.0.119" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\CanFly\XKRS.CanFly.csproj" />
    <ProjectReference Include="..\DH.Devices.Camera\DH.Devices.Camera.csproj" />
    <ProjectReference Include="..\DH.Devices.Motion\DH.Devices.Motion.csproj" />
    <ProjectReference Include="..\DH.Devices.PLC\DH.Devices.PLC.csproj" />
    <ProjectReference Include="..\DH.Devices.Vision\DH.Devices.Vision.csproj" />
    <ProjectReference Include="..\DH.RBAC\DH.RBAC.csproj" />
    <ProjectReference Include="..\DH.UI.Model.Winform\DH.UI.Model.Winform.csproj" />
  </ItemGroup>

  <ItemGroup>
    <Reference Include="DVPCameraCS64">
      <HintPath>..\x64\Debug\DVPCameraCS64.dll</HintPath>
    </Reference>
    <Reference Include="halcondotnet">
      <HintPath>..\x64\Debug\halcondotnet.dll</HintPath>
    </Reference>
    <Reference Include="hdevenginedotnet">
      <HintPath>..\x64\Debug\hdevenginedotnet.dll</HintPath>
    </Reference>
  </ItemGroup>



	<ItemGroup>
		<None Include="assets\favicon.ico" />
		<None Include="db\db.sqlite">
			<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
			<!-- 仅在首次生成时复制 -->
			<Condition>!Exists('$(OutputPath)\db\db.sqlite')</Condition>
		</None>
	</ItemGroup>

</Project>