Skip to content

Commit 90ee689

Browse files
ARROW-17929: [C#] Improve the NuGet packages. (apache#14312)
Authored-by: Theodore Tsirpanis <theodore.tsirpanis@tiledb.com> Signed-off-by: Eric Erhardt <eric.erhardt@microsoft.com>
1 parent ac54c87 commit 90ee689

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

‎csharp/Directory.Build.props‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
<PropertyGroup>
4444
<Authors>The Apache Software Foundation</Authors>
4545
<PackageIconUrl>https://www.apache.org/images/feather.png</PackageIconUrl>
46+
<!-- We can't use PackageLicenseExpression; the license file also contains 3rd-party notices. -->
4647
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
4748
<PackageProjectUrl>https://arrow.apache.org/</PackageProjectUrl>
4849
<PackageTags>apache arrow</PackageTags>

‎csharp/src/Apache.Arrow/Apache.Arrow.csproj‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard1.3;netcoreapp3.1</TargetFrameworks>
4+
<TargetFrameworks>netstandard1.3;netstandard2.0;netcoreapp3.1</TargetFrameworks>
55
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
66
<DefineConstants>$(DefineConstants);UNSAFE_BYTEBUFFER;BYTEBUFFER_NO_BOUNDS_CHECK;ENABLE_SPAN_T</DefineConstants>
77

88
<Description>Apache Arrow is a cross-language development platform for in-memory data. It specifies a standardized language-independent columnar memory format for flat and hierarchical data, organized for efficient analytic operations on modern hardware.</Description>
99
</PropertyGroup>
1010

11-
<ItemGroup>
12-
<PackageReference Include="System.Buffers" Version="4.5.0" />
13-
<PackageReference Include="System.Memory" Version="4.5.2" />
14-
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.5.2" />
15-
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.2" />
11+
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">
12+
<PackageReference Include="System.Buffers" Version="4.5.1" />
13+
<PackageReference Include="System.Memory" Version="4.5.5" />
14+
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.5.3" />
15+
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.4" />
16+
</ItemGroup>
1617

18+
<ItemGroup>
1719
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
1820
</ItemGroup>
1921

0 commit comments

Comments
 (0)