Closed henrivain closed 1 year ago
Added package path whilst running pack build in release mode
<ItemGroup Condition="'$(Configuration)' == 'Release' ">
<Resource Include="lib\Windows\x86_64\*.dll" Pack="true" PackagePath="lib\net7.0-windows10.0.19041\">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<PackageCopyToOutput>true</PackageCopyToOutput>
</Resource>
</ItemGroup>
Also copy windows dlls to output directory for debugging repository project
<ItemGroup Condition="$(TargetFramework.Contains('-windows'))">
<ContentWithTargetPath Include="lib\Windows\x86_64\**">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<TargetPath>%(Filename)%(Extension)</TargetPath>
</ContentWithTargetPath>
</ItemGroup>
Change dll import dll name to point to output dir on windows
const string DllName = "tesseract53.dll";
Fixed in v1.0.6
Output bin folder does not have lib -folder inside
Also can't find them by searching
With project reference everything works fine, but with nuget package dll cannot be loaded.
Android works fine.
Affected platforms: Windows