Skip to content

Commit a7a296a

Browse files
committed
post cherry-pick sync from 5.x project files
1 parent 1ff0591 commit a7a296a

File tree

6 files changed

+5
-12
lines changed

6 files changed

+5
-12
lines changed

build/Clients.Common.targets

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,19 @@
1414
<!-- File version reflects actual version number without prelease since that not allowed in its struct -->
1515
<FileVersion>$(CurrentAssemblyFileVersion)</FileVersion>
1616

17-
<DotNetCoreOnly></DotNetCoreOnly>
18-
19-
20-
21-
22-
2317
<!-- 'dotnet xunit' does a build but has no way to pass properties or prevent build so we snoop for TRAVIS here
2418
Ideally we handle this in the FAKE script (which we do for 'dotnet build')
2519
TODO too lazy to write and test a <CHOOSE>
2620
-->
2721
<DotNetCoreOnly Condition="'$(TRAVIS)'=='true'">1</DotNetCoreOnly>
2822
<DotNetCoreOnly Condition="'$(TRAVIS)'==''"></DotNetCoreOnly>
29-
3023
<DoSourceLink></DoSourceLink>
3124
<SignAssembly>true</SignAssembly>
3225
<AssemblyOriginatorKeyFile Condition="'$(DotNetCoreOnly)'==''">..\..\build\keys\keypair.snk</AssemblyOriginatorKeyFile>
3326
<GenerateDocumentationFile Condition="'$(DotNetCoreOnly)'==''">true</GenerateDocumentationFile>
3427
<NoWarn>1591,1572,1571,1573,1587,1570</NoWarn>
3528
<Prefer32Bit>false</Prefer32Bit>
3629
<DefineConstants Condition="'$(TargetFramework)'=='netstandard1.3' OR '$(DotNetCoreOnly)'=='1'">$(DefineConstants);DOTNETCORE</DefineConstants>
37-
<DebugType Condition="'$(DotNetCoreOnly)'==''">embedded</DebugType>
3830
<DebugType>embedded</DebugType>
3931
<SourceLink Condition="'$(DoSourceLink)'!=''">$(BaseIntermediateOutputPath)\sl-$(MsBuildProjectName)-$(TargetFramework).json</SourceLink>
4032
<RepoUri>https://raw.githubusercontent.com/elastic/elasticsearch-net</RepoUri>

build/scripts/XmlDocPatcher.fsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ open Paths
1616
open Projects
1717
open Fake
1818

19+
1920
module InheritDoc =
2021

2122
let private apiName n = Regex.Replace(n, @"^\w\:(.+?)(?:\(.+$|$)", "$1")

src/Elasticsearch.Net/Elasticsearch.Net.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<Import Project="..\..\build\Clients.Common.targets" />
33
<PropertyGroup>
4+
<TargetFrameworks Condition="'$(DotNetCoreOnly)'=='1'">netstandard1.3</TargetFrameworks>
45
<TargetFrameworks Condition="'$(DotNetCoreOnly)'==''">net45;net46;netstandard1.3</TargetFrameworks>
5-
<TargetFramework Condition="'$(DotNetCoreOnly)'=='1'">netstandard1.3</TargetFramework>
66
</PropertyGroup>
77
<ItemGroup Condition="'$(TargetFramework)'!='netstandard1.3'">
88
<Reference Include="Microsoft.CSharp" />

src/Elasticsearch.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_Build", "_Build", "{432D55
2323
..\readme.md = ..\readme.md
2424
EndProjectSection
2525
EndProject
26-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Code Generation", "Code Generation", "{93331BEE-0AA0-47B7-B1D2-BD5BD31634D1}"
26+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CodeGeneration", "CodeGeneration", "{93331BEE-0AA0-47B7-B1D2-BD5BD31634D1}"
2727
EndProject
2828
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ApiGenerator", "CodeGeneration\ApiGenerator\ApiGenerator.csproj", "{56A87048-9065-459B-826D-3DF68B409845}"
2929
EndProject

src/Nest/Nest.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<Import Project="..\..\build\Clients.Common.targets" />
33
<PropertyGroup>
4+
<TargetFrameworks Condition="'$(DotNetCoreOnly)'=='1'">netstandard1.3</TargetFrameworks>
45
<TargetFrameworks Condition="'$(DotNetCoreOnly)'==''">net45;net46;netstandard1.3</TargetFrameworks>
5-
<TargetFramework Condition="'$(DotNetCoreOnly)'=='1'">netstandard1.3</TargetFramework>
66
</PropertyGroup>
77
<ItemGroup>
88
<ProjectReference Include="..\Elasticsearch.Net\Elasticsearch.Net.csproj" />

src/Tests/Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<DotNetCoreOnly Condition="'$(TRAVIS)'=='true'">1</DotNetCoreOnly>
44
<DotNetCoreOnly Condition="'$(TRAVIS)'==''"></DotNetCoreOnly>
55
<OutputType>Exe</OutputType>
6+
<TargetFrameworks Condition="'$(DotNetCoreOnly)'=='1'">netcoreapp1.1</TargetFrameworks>
67
<TargetFrameworks Condition="'$(DotNetCoreOnly)'==''">netcoreapp1.1;net45;net46</TargetFrameworks>
7-
<TargetFramework Condition="'$(DotNetCoreOnly)'=='1'">netcoreapp1.1</TargetFramework>
88
<VersionPrefix>6.0.0</VersionPrefix>
99
<VersionSuffix>alpha</VersionSuffix>
1010
<DefineConstants Condition="'$(TargetFramework)'=='netcoreapp1.1' OR '$(DotNetCoreOnly)'=='1'">$(DefineConstants);DOTNETCORE</DefineConstants>

0 commit comments

Comments
 (0)