-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCouchbase.Analytics.csproj
More file actions
68 lines (56 loc) · 3.09 KB
/
Couchbase.Analytics.csproj
File metadata and controls
68 lines (56 loc) · 3.09 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
68
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>Couchbase.AnalyticsClient</RootNamespace>
<VersionPrefix>1.0.1</VersionPrefix>
<AssemblyName>Couchbase.AnalyticsClient</AssemblyName>
<PackageId>Couchbase.AnalyticsClient</PackageId>
<Product>Couchbase Analytics Client</Product>
<Description>The Official Couchbase Analytics .NET SDK</Description>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageReleaseNotes>https://docs.couchbase.com/dotnet-analytics-sdk/current/project-docs/analytics-sdk-release-notes.html</PackageReleaseNotes>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
<PropertyGroup Condition="'$(SignAssembly)'=='true'">
<DefineConstants>$(DefineConstants);SIGNING</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="DnsClient" />
<PackageReference Include="Microsoft.Extensions.Logging" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" />
</ItemGroup>
<ItemGroup>
<Compile Remove="Internal\CouchbaseHttpClientFactory.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Couchbase.Core\Couchbase.Core.csproj" >
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
<IncludeAssets>Couchbase.Core.dll</IncludeAssets>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="" />
</ItemGroup>
<!--
NuGet's symbol pack only includes the PDB of the project being packed.
Couchbase.Core.dll is bundled into the main package (lib/<tfm>/), so its
PDB must be added to the symbol package explicitly.
This target adds the PDB of every ProjectReference whose DLL flows into the build output.
-->
<PropertyGroup>
<TargetsForTfmSpecificDebugSymbolsInPackage>$(TargetsForTfmSpecificDebugSymbolsInPackage);IncludeReferencedProjectSymbolsInSymbolPackage</TargetsForTfmSpecificDebugSymbolsInPackage>
</PropertyGroup>
<Target Name="IncludeReferencedProjectSymbolsInSymbolPackage" DependsOnTargets="BuildOnlySettings;ResolveReferences">
<ItemGroup>
<_ReferencedProjectPdb Include="@(ReferenceCopyLocalPaths->'%(RootDir)%(Directory)%(Filename).pdb')"
Condition="'%(ReferenceCopyLocalPaths.ReferenceSourceTarget)' == 'ProjectReference' and '%(ReferenceCopyLocalPaths.Extension)' == '.dll'" />
<TfmSpecificDebugSymbolsFile Include="@(_ReferencedProjectPdb)"
Condition="Exists('%(Identity)')"
TargetPath="/lib/$(TargetFramework)/%(Filename)%(Extension)"
TargetFramework="$(TargetFramework)" />
</ItemGroup>
</Target>
</Project>