1
0

IDCardRecognitionLibs.csproj 1.0 KB

123456789101112131415161718192021222324252627282930
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>netstandard2.0</TargetFramework>
  4. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  5. </PropertyGroup>
  6. <ItemGroup>
  7. <Compile Remove="IDCardRecognitionTest.cs" />
  8. </ItemGroup>
  9. <ItemGroup>
  10. <None Remove="ch_PP-OCRv4_det_infer.onnx" />
  11. </ItemGroup>
  12. <ItemGroup>
  13. <Reference Include="AI.Common">
  14. <HintPath>..\..\..\..\..\..\..\SVN\Trunk\SourceCode\AutoEF_Android\Depends\AI.Common.dll</HintPath>
  15. </Reference>
  16. </ItemGroup>
  17. <Target Name="PreBuild" BeforeTargets="PreBuildEvent">
  18. <Exec Command="xcopy &quot;$(SolutionDir)Depends\*.*&quot; &quot;$(SolutionDir)Bin\&quot; /y&#xD;&#xA;xcopy &quot;$(SolutionDir)ValidModels\*.onnx&quot; &quot;$(SolutionDir)Bin\Networks\&quot; /y" />
  19. </Target>
  20. <Target Name="PostBuild" AfterTargets="PostBuildEvent">
  21. <Exec Command="xcopy &quot;$(SolutionDir)IDCardRecognitionCSLibs\bin\Release\$(TargetFramework)\*.dll&quot; &quot;$(SolutionDir)Bin\&quot; /y" />
  22. </Target>
  23. </Project>