63 lines
2.7 KiB
XML
63 lines
2.7 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net48</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<LangVersion>latest</LangVersion>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<UserSecretsId>dotnet-HikvisionAttendanceService-be7e0e28-c864-4273-ade4-819e35c57527</UserSecretsId>
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<InternalsVisibleTo Include="HikvisionAttendanceService.Tests" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Remove="Tests\**\*" />
|
|
<None Include="Tests\**\*" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Hikvision interop (imported directly from the SDK demo source files) -->
|
|
<Compile Include="D:\EN-HCNetSDKV6.1.9.48_build20230410_win32\EN-HCNetSDKV6.1.9.48_build20230410_win32\C# demo\8-ACS_Optimization_ALL\EventByDeploy\EventByDeploy\HCNetSDK.cs" Link="Interop\EventByDeploy\HCNetSDK.cs" />
|
|
<Compile Include="D:\EN-HCNetSDKV6.1.9.48_build20230410_win32\EN-HCNetSDKV6.1.9.48_build20230410_win32\C# demo\8-ACS_Optimization_ALL\EventByDeploy\EventByDeploy\TypeMap.cs" Link="Interop\EventByDeploy\TypeMap.cs" />
|
|
<!-- Login_V30 + core callback helpers -->
|
|
<Compile Include="D:\EN-HCNetSDKV6.1.9.48_build20230410_win32\EN-HCNetSDKV6.1.9.48_build20230410_win32\C# demo\9-AppsDemo_build20201230191326\CommonBase\Head\HCNetSDK.cs" Link="Interop\AppsDemo\CommonBase\HCNetSDK_LoginV30.cs" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Ensure serviceconfig / device settings are copied next to the exe -->
|
|
<None Include="serviceconfig.json" CopyToOutputDirectory="PreserveNewest" />
|
|
<None Include="DeviceSettings.config" CopyToOutputDirectory="PreserveNewest" />
|
|
<None Include="appsettings.json" CopyToOutputDirectory="PreserveNewest" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Copy native SDK DLLs into output/HCNetSDK so AppsDemo interop can resolve them -->
|
|
<Content Include="HCNetSDK\**\*.dll" CopyToOutputDirectory="PreserveNewest" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- ServiceBase -->
|
|
<Reference Include="System.ServiceProcess" />
|
|
<!-- Needed for JavaScriptSerializer JSON parsing in STDXMLConfig diagnostics -->
|
|
<Reference Include="System.Web.Extensions" />
|
|
<!-- Direct ISAPI HTTP (Digest auth) calls -->
|
|
<Reference Include="System.Net.Http" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="MySql.Data">
|
|
<Version>9.6.0</Version>
|
|
</PackageReference>
|
|
<!-- Managed Haar face detection for InitialDepartmentSync photo pre-processing -->
|
|
<PackageReference Include="Accord.Vision">
|
|
<Version>3.8.0</Version>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
</Project>
|