|
|
|
@ -30,6 +30,8 @@
|
|
|
|
|
<UseApplicationTrust>false</UseApplicationTrust>
|
|
|
|
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
|
|
|
|
<TargetFrameworkProfile />
|
|
|
|
|
<NuGetPackageImportStamp>
|
|
|
|
|
</NuGetPackageImportStamp>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
|
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
|
|
@ -75,6 +77,9 @@
|
|
|
|
|
<Reference Include="System.Xaml">
|
|
|
|
|
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="Tesseract, Version=5.2.0.0, Culture=neutral, processorArchitecture=MSIL">
|
|
|
|
|
<HintPath>..\packages\Tesseract.5.2.0\lib\net48\Tesseract.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="WindowsBase" />
|
|
|
|
|
<Reference Include="PresentationCore" />
|
|
|
|
|
<Reference Include="PresentationFramework" />
|
|
|
|
@ -171,6 +176,15 @@
|
|
|
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
|
|
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
|
|
|
|
</EmbeddedResource>
|
|
|
|
|
<None Include="tessdata\chi_sim.traineddata">
|
|
|
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
|
|
|
|
<None Include="tessdata\chi_sim_vert.traineddata">
|
|
|
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
|
|
|
|
<None Include="tessdata\eng.traineddata">
|
|
|
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
|
|
|
|
<Resource Include="Images\iconfont.ttf">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</Resource>
|
|
|
|
@ -210,4 +224,11 @@
|
|
|
|
|
</COMReference>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
|
|
|
<Import Project="..\packages\Tesseract.5.2.0\build\Tesseract.targets" Condition="Exists('..\packages\Tesseract.5.2.0\build\Tesseract.targets')" />
|
|
|
|
|
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<Error Condition="!Exists('..\packages\Tesseract.5.2.0\build\Tesseract.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Tesseract.5.2.0\build\Tesseract.targets'))" />
|
|
|
|
|
</Target>
|
|
|
|
|
</Project>
|