Skip to content

Commit 4762416

Browse files
authored
Update to use .NET5 SDK (#33)
1 parent 1442201 commit 4762416

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
git tag --list
2828
- uses: actions/setup-dotnet@v1
2929
with:
30-
dotnet-version: '3.1.201'
30+
dotnet-version: '5.0.100'
3131
source-url: https://nuget.pkg.github.com/elastic/index.json
3232
env:
3333
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
99
</PropertyGroup>
1010
<ItemGroup>
11-
<PackageReference Include="MinVer" Version="2.2.0" PrivateAssets="all" />
11+
<PackageReference Include="MinVer" Version="2.3.1" PrivateAssets="all" />
1212
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies.net461" Version="1.0.0" PrivateAssets="all"/>
1313
</ItemGroup>
1414
</Project>

build/scripts/scripts.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net5.0</TargetFramework>
66
<IsPackable>false</IsPackable>
77
</PropertyGroup>
88
<ItemGroup>

dotnet-tools.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@
33
"isRoot": true,
44
"tools": {
55
"minver-cli": {
6-
"version": "2.2.0",
6+
"version": "2.3.1",
77
"commands": [
88
"minver"
99
]
1010
},
1111
"assembly-differ": {
12-
"version": "0.12.5",
12+
"version": "0.13.0",
1313
"commands": [
1414
"assembly-differ"
1515
]
1616
},
1717
"release-notes": {
18-
"version": "0.2.3",
18+
"version": "0.3.0",
1919
"commands": [
2020
"release-notes"
2121
]
2222
},
2323
"nupkg-validator": {
24-
"version": "0.3.1",
24+
"version": "0.4.0",
2525
"commands": [
2626
"nupkg-validator"
2727
]

examples/Elastic.Managed.Example/Elastic.Managed.Example.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.0</TargetFramework>
5+
<TargetFramework>net5.0</TargetFramework>
66
<IsPackable>False</IsPackable>
77
</PropertyGroup>
88

examples/Elastic.Xunit.ExampleComplex/Elastic.Xunit.ExampleComplex.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>netcoreapp3.0;net461</TargetFrameworks>
3+
<TargetFrameworks>net5.0;net461</TargetFrameworks>
44
<IsPackable>False</IsPackable>
55
</PropertyGroup>
66
<ItemGroup>

examples/Elastic.Xunit.ExampleMinimal/Elastic.Xunit.ExampleMinimal.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>netcoreapp3.0;net461</TargetFrameworks>
3+
<TargetFrameworks>net5.0;net461</TargetFrameworks>
44
<IsPackable>False</IsPackable>
55
</PropertyGroup>
66
<ItemGroup>

examples/ScratchPad/ScratchPad.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFramework>netcoreapp3.0</TargetFramework>
4+
<TargetFramework>net5.0</TargetFramework>
55
<IsPackable>False</IsPackable>
66
</PropertyGroup>
77
<ItemGroup>

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"sdk": {
3-
"version": "3.1.200"
3+
"version": "5.0.100"
44
}
55
}

src/Nest.TypescriptExporter/Nest.TypescriptExporter.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFramework>netcoreapp3.0</TargetFramework>
4+
<TargetFramework>net5.0</TargetFramework>
55
<IsPackable>False</IsPackable>
66
<SignAssembly>False</SignAssembly>
77
</PropertyGroup>

0 commit comments

Comments
 (0)