Skip to content

Commit

Permalink
Merge pull request #164 from fkpama/master
Browse files Browse the repository at this point in the history
Hide native dlls in Visual Studio
  • Loading branch information
CoreyKaylor authored Oct 11, 2023
2 parents a24534a + dbe2bcb commit 6f6c362
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/LightningDB/LightningDB.targets
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<PropertyGroup>
<LightningDBTargetRuntimeRelativePath Condition=" '$(LightningDBTargetRuntimeRelativePath)' == '' ">\..\</LightningDBTargetRuntimeRelativePath>
</PropertyGroup>
<Target Name="LightningDBIncludeNativeDll" AfterTargets="BeforeResolveReferences">
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)$(LightningDBTargetRuntimeRelativePath)runtimes\win-x86\native\*"
CopyToOutputDirectory="PreserveNewest"
Expand All @@ -27,4 +28,5 @@
CopyToOutputDirectory="PreserveNewest"
Condition="'$([MSBuild]::IsOsPlatform(Linux))' And '$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)'=='X64'" />
</ItemGroup>
</Target>
</Project>

0 comments on commit 6f6c362

Please sign in to comment.