|
| 1 | +<!-- |
| 2 | +
|
| 3 | +Copyright (c) 2025 ADBC Drivers Contributors |
| 4 | +
|
| 5 | +Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | +you may not use this file except in compliance with the License. |
| 7 | +You may obtain a copy of the License at |
| 8 | +
|
| 9 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +
|
| 11 | +Unless required by applicable law or agreed to in writing, software |
| 12 | +distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | +See the License for the specific language governing permissions and |
| 15 | +limitations under the License. |
| 16 | +
|
| 17 | +--> |
| 18 | + |
| 19 | + |
| 20 | +<Project> |
| 21 | + |
| 22 | + <!-- Common repo directories --> |
| 23 | + <PropertyGroup> |
| 24 | + <RepoRoot>$(MSBuildThisFileDirectory)../</RepoRoot> |
| 25 | + <CSharpDir>$(MSBuildThisFileDirectory)</CSharpDir> |
| 26 | + <BaseOutputPath>$(CSharpDir)/artifacts/$(MSBuildProjectName)</BaseOutputPath> |
| 27 | + </PropertyGroup> |
| 28 | + |
| 29 | + <!-- AssemblyInfo properties --> |
| 30 | + <PropertyGroup> |
| 31 | + <Product>ADBC Driver for Databricks</Product> |
| 32 | + <Copyright>Copyright 2025 ADBC Drivers Contributors</Copyright> |
| 33 | + <VersionPrefix>0.22.0</VersionPrefix> |
| 34 | + <VersionSuffix>SNAPSHOT</VersionSuffix> |
| 35 | + </PropertyGroup> |
| 36 | + |
| 37 | + <PropertyGroup> |
| 38 | + <EmbedUntrackedSources>true</EmbedUntrackedSources> |
| 39 | + <LangVersion>latest</LangVersion> |
| 40 | + <SignAssembly>true</SignAssembly> |
| 41 | + <AssemblyOriginatorKeyFile>$(CSharpDir)AdbcDrivers.snk</AssemblyOriginatorKeyFile> |
| 42 | + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> |
| 43 | + <Nullable>enable</Nullable> |
| 44 | + <NoWarn>CS8600;CS8601;CS8602;CS8604;CS8618</NoWarn> |
| 45 | + <ImplicitUsings>disable</ImplicitUsings> |
| 46 | + <IsWindows Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' == 'true'">true</IsWindows> |
| 47 | + </PropertyGroup> |
| 48 | + |
| 49 | + <ItemGroup Condition="!$([MSBuild]::IsTargetFrameworkCompatible($(TargetFramework), 'net8.0'))"> |
| 50 | + <PackageReference Include="Microsoft.SourceLink.GitHub"> |
| 51 | + <PrivateAssets>All</PrivateAssets> |
| 52 | + </PackageReference> |
| 53 | + </ItemGroup> |
| 54 | + |
| 55 | +</Project> |
0 commit comments