Skip to content

Commit

Permalink
Include packages for x86/x64 onigwrap.dll, and dynamic binding betwee…
Browse files Browse the repository at this point in the history
…n them #51
  • Loading branch information
Andrew1Medvedev committed Jul 3, 2023
1 parent a50198b commit 30516a1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 20 deletions.
14 changes: 0 additions & 14 deletions build/CopyNativeLibraries.targets

This file was deleted.

17 changes: 14 additions & 3 deletions build/TextMateSharp.targets
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
<Project>
<Import Project="$(MSBuildThisFileDirectory)\CopyNativeLibraries.targets" />
</Project>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Condition="'$(TargetFramework)' == '' Or '$(TargetFramework.TrimEnd(`0123456789`))' == 'net'">
<None Include="$(MSBuildThisFileDirectory)..\runtimes\win-x64\native\onigwrap-x64.dll">
<Link>onigwrap-x64.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Visible>false</Visible>
</None>
<None Include="$(MSBuildThisFileDirectory)..\runtimes\win-x86\native\onigwrap-x86.dll">
<Link>onigwrap-x86.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Visible>false</Visible>
</None>
</ItemGroup>
</Project>
3 changes: 0 additions & 3 deletions src/TextMateSharp/TextMateSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@ TextMateSharp uses a wrapper around Oniguruma regex engine. Read below to learn
<PackageReference Include="System.Text.Json" Version="$(SystemTextJsonVersion)" />
</ItemGroup>
<ItemGroup>
<Content Pack="True"
PackagePath="build"
Include="..\..\build\CopyNativeLibraries.targets" />
<Content Pack="True"
PackagePath="build"
Include="..\..\build\TextMateSharp.targets" />
Expand Down

0 comments on commit 30516a1

Please sign in to comment.