Skip to content

Commit

Permalink
fixed windows dll name
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyshazam committed Feb 8, 2024
1 parent 6f045d0 commit 771ebd8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
8 changes: 7 additions & 1 deletion src/DeltaLake/DeltaLake.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,16 @@
<PackageReference Include="Apache.Arrow" Version="15.0.0" />
</ItemGroup>

<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>DeltaLake.Tests</_Parameter1>
</AssemblyAttribute>
</ItemGroup>

<!-- Build/copy debug/release bridge DLL -->

<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Windows'))">
<BridgeLibraryFile>deltalake.dll</BridgeLibraryFile>
<BridgeLibraryFile>delta_rs_bridge.dll</BridgeLibraryFile>
</PropertyGroup>
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Linux'))">
<BridgeLibraryFile>libdelta_rs_bridge.so</BridgeLibraryFile>
Expand Down
18 changes: 15 additions & 3 deletions tests/DeltaLake.Tests/DeltaLake.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0;</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<ImplicitUsings>enable</ImplicitUsings>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="coverlet.collector" Version="3.1.2" />
<PackageReference Include="coverlet.collector" Version="3.1.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.msbuild" Version="3.1.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="xunit" Version="2.6.6" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.6">
Expand All @@ -15,5 +25,7 @@
<ItemGroup>
<ProjectReference Include="../../src/DeltaLake/DeltaLake.csproj" />
</ItemGroup>

<ItemGroup>
<Content Include="xunit.runner.json" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
</Project>

0 comments on commit 771ebd8

Please sign in to comment.