-
Notifications
You must be signed in to change notification settings - Fork 248
/
Copy pathDirectory.Build.props
57 lines (49 loc) · 2.51 KB
/
Directory.Build.props
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
<Project>
<PropertyGroup>
<LangVersion>12</LangVersion>
<CheckEolTargetFramework>false</CheckEolTargetFramework> <!-- Don't warn about EOL target frameworks like netcoreapp2.1 -->
<Authors>Couchbase, Inc.</Authors>
<Company>Couchbase, Inc.</Company>
<Copyright>Copyright (c) 2019-2022 Couchbase,Inc.</Copyright>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/couchbase/couchbase-net-client</PackageProjectUrl>
<PackageIcon>couchbase.png</PackageIcon>
<RepositoryUrl>https://github.com/couchbase/couchbase-net-client</RepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<!-- Because we're building commits pulled from Gerrit, SourceLink can't find our repository URL -->
<!-- This will manually fill it in (though we'll still see some warnings) -->
<SourceLinkUrlInitializerTargets>SupplySourceRootRepositoryUrl;$(SourceLinkUrlInitializerTargets)</SourceLinkUrlInitializerTargets>
</PropertyGroup>
<PropertyGroup>
<!-- update this after a release-->
<CouchbaseNetClientReleasedVersion>3.6.2</CouchbaseNetClientReleasedVersion>
</PropertyGroup>
<PropertyGroup>
<!-- libraries typically include NetStandardTargets for widest use cases -->
<!-- "modern" targets are best for features and performance -->
<!-- EXEs must target at least one specific framework -->
<NetStandardTargets>netstandard2.0;netstandard2.1</NetStandardTargets>
<!-- If you need to build with Visual Studio < 2022, remove net6.0 -->
<NetModernTargets>net6.0;net8.0</NetModernTargets>
<NetSpecificTargets>$(NetModernTargets)</NetSpecificTargets>
<!-- For the main SDK, we should run tests on .NET 4.8 when possible -->
<SdkTestTargets>$(NetSpecificTargets)</SdkTestTargets>
<SdkTestTargets Condition="$([MSBuild]::IsOSPlatform('Windows'))">net48;$(SdkTestTargets)</SdkTestTargets>
</PropertyGroup>
<!--For Couchbase.Stellar gRPC Protos-->
<PropertyGroup>
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)src\Couchbase\couchbase.png" Pack="true" PackagePath="\">
<Visible>false</Visible>
</None>
</ItemGroup>
<!-- AOT analysis -->
<PropertyGroup>
<!-- We're not quite ready to do AOT yet, so default to false.
Change this to true to enable AOT warnings-as-errors. -->
<DefaultEnableAotAnalyzer>false</DefaultEnableAotAnalyzer>
</PropertyGroup>
</Project>