-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
67 lines (60 loc) · 3.4 KB
/
Copy pathDirectory.Build.props
File metadata and controls
67 lines (60 loc) · 3.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<Project>
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<InvariantGlobalization>false</InvariantGlobalization>
<AnalysisLevel>latest</AnalysisLevel>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
</PropertyGroup>
<!-- Single version for every package in this repo. -->
<PropertyGroup>
<Version>0.4.2</Version>
</PropertyGroup>
<PropertyGroup>
<Authors>Query Farm LLC</Authors>
<Company>Query Farm LLC</Company>
<Copyright>Copyright © Query Farm LLC</Copyright>
<!-- VGI itself (unlike the generic vgi-rpc-csharp transport layer, which is Apache-2.0) is
Query Farm's own source-available technology — same license text as vgi-python/vgi-go's
LICENSE, not an SPDX-recognized identifier, hence PackageLicenseFile not
PackageLicenseExpression. -->
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<RepositoryUrl>https://github.com/Query-farm/vgi-csharp</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>
<!-- Repo-root LICENSE path, resolved once here so per-folder Directory.Build.props files
(which set IsPackable AFTER importing this one, so can't test it here) can reference it. -->
<PropertyGroup>
<VgiCSharpLicenseFile>$(MSBuildThisFileDirectory)LICENSE</VgiCSharpLicenseFile>
</PropertyGroup>
<!--
Sibling-repo composite reference: when a `vgi-rpc-csharp` checkout sits next to this repo
(the expected local-dev layout, mirroring vgi-java's VGI_RPC_JAVA_DIR composite-build
pattern), QueryFarm.Vgi.csproj references its QueryFarm.VgiRpc source project directly
instead of the published NuGet package — see docs in that csproj.
-->
<PropertyGroup>
<VgiRpcCSharpRoot Condition="'$(VgiRpcCSharpRoot)' == ''">$(MSBuildThisFileDirectory)../vgi-rpc-csharp</VgiRpcCSharpRoot>
<VgiRpcCSharpUseSource Condition="Exists('$(VgiRpcCSharpRoot)/src/QueryFarm.VgiRpc/QueryFarm.VgiRpc.csproj')">true</VgiRpcCSharpUseSource>
</PropertyGroup>
<!-- Every project in this repo transitively depends on QueryFarm.Vgi, which depends on
DuckDB.NET.Data.Full (Internal/ExpressionFilterEvaluator.cs), which depends on the OFFICIAL
Apache.Arrow NuGet package — colliding at compile time with this repo's patched
QueryFarm.Arrow fork (same AssemblyName "Apache.Arrow", different strong-name key; see
QueryFarm.Vgi.csproj's own comment on this). Suppressing it in QueryFarm.Vgi.csproj alone
isn't enough: NuGet's transitive-dependency resolution re-pulls the official package
independently into every DOWNSTREAM project that references QueryFarm.Vgi (test/fixtures/
examples), so the exclusion must apply repo-wide. Safe everywhere — nothing in this repo
calls DuckDB.NET's Arrow-streaming API that would need Apache.Arrow.dll loadable at runtime. -->
<ItemGroup>
<PackageReference Include="Apache.Arrow" ExcludeAssets="all" />
<PackageReference Include="Apache.Arrow.Scalars" ExcludeAssets="all" />
</ItemGroup>
</Project>