Skip to content

Commit

Permalink
#298 Updated project so generated nuget package copies unmanaged dlls…
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesw committed Apr 1, 2018
1 parent 2eb5414 commit e37ca44
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Tesseract/Tesseract.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,8 @@
<Content Include="x86\*.dll" Pack="true" PackageCopyToOutput="true" PackagePath="x86">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Tesseract.targets" Pack="true" PackageCopyToOutput="true" PackagePath="build/">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</Content>
</ItemGroup>
</Project>
21 changes: 21 additions & 0 deletions src/Tesseract/Tesseract.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)\..\x86\liblept1744.dll">
<Link>x86\liblept1744.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="$(MSBuildThisFileDirectory)\..\x86\libtesseract3051.dll">
<Link>x86\libtesseract3051.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="$(MSBuildThisFileDirectory)\..\x64\liblept1744.dll">
<Link>x64\liblept1744.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="$(MSBuildThisFileDirectory)\..\x64\libtesseract3051.dll">
<Link>x64\libtesseract3051.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>

0 comments on commit e37ca44

Please sign in to comment.