Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PR] The proj files have been updated to enable SourceLink #4819

Closed
wants to merge 7 commits into from
11 changes: 10 additions & 1 deletion .ci/Jenkins.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
</PropertyGroup>

<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>


</Project>
8 changes: 8 additions & 0 deletions src/ApiGenerator/ApiGenerator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@

<NoWarn>NU1701</NoWarn>
<PreserveCompilationContext>true</PreserveCompilationContext>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.1.0-beta3-final" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
Expand Down
8 changes: 8 additions & 0 deletions src/DocGenerator/DocGenerator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,15 @@
<!-- CAC001: We dont need to set ConfigureAwait(false) here -->
<NoWarn>NU1701,NU1605,CAC001</NoWarn>
<LangVersion>8.0</LangVersion>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="$(SolutionRoot)\src\Nest\Nest.csproj" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,16 @@
<Title>Elasticsearch.Net.VirtualizedCluster - A highly configurable in memory IConnection</Title>
<PackageTags>elasticsearch;elastic;search;lucene;nest</PackageTags>
<Description>Provides a way to assert client behaviour through a rule engine backed VirtualClusterConnection</Description>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>


<PropertyGroup>
<IsPackable>true</IsPackable>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
Expand Down
8 changes: 8 additions & 0 deletions src/Elasticsearch.Net/Elasticsearch.Net.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,15 @@
Exposes all the Elasticsearch API endpoints but leaves you in control of building the request and response bodies.
Comes with built in cluster failover/connection pooling support.
</Description>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>


<PropertyGroup>
<IsPackable>true</IsPackable>
Expand Down
8 changes: 8 additions & 0 deletions src/Nest.JsonNetSerializer/Nest.JsonNetSerializer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,16 @@
<Title>NEST.JsonNetSerializer - Elasticsearch .NET custom Json.NET serializer</Title>
<PackageTags>elasticsearch,elastic,search,lucene,nest,serializer,json</PackageTags>
<Description>NEST uses an internal serializer. This package enables serialization for your documents using your own custom Json.NET serializer</Description>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>


<PropertyGroup>
<IsPackable>true</IsPackable>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
Expand Down
8 changes: 8 additions & 0 deletions src/Nest/Nest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,15 @@
Strongly typed interface to Elasticsearch. Fluent and classic object initializer mappings of requests and
responses. Uses and exposes Elasticsearch.Net.
</Description>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>


<PropertyGroup>
<IsPackable>true</IsPackable>
Expand Down