Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

Commit 6a31164

Browse files
committed
update target frameworks to S2.1/c3.0
1 parent d8941c5 commit 6a31164

5 files changed

Lines changed: 23 additions & 17 deletions

File tree

SRLApiClient/SRLApiClient.csproj

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.0</TargetFramework>
5-
<AssemblyVersion>1.1.1.0</AssemblyVersion>
6-
<FileVersion>1.1.1.0</FileVersion>
7-
<Version>1.1.1</Version>
4+
<TargetFramework>netstandard2.1</TargetFramework>
5+
<LangVersion>8.0</LangVersion>
6+
<AssemblyVersion>1.1.2.0</AssemblyVersion>
7+
<FileVersion>1.1.2.0</FileVersion>
8+
<Version>1.1.2</Version>
89
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
910
<IncludeSymbols>true</IncludeSymbols>
1011
<Authors>Matteias Collet (BitPatty) &lt;matteias.collet@bluewin.ch&gt;</Authors>

SRLApiClient/docfx/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ _none_
2727

2828
## Changelog
2929

30+
#### v1.2
31+
32+
- Update target framework to .NET Standard 2.1
33+
3034
#### v1.1.1
3135

3236
- Ensured proper disposal of semaphores in the HTTP client pool

Tests/Tests.csproj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp2.0</TargetFramework>
5-
4+
<TargetFramework>netcoreapp3.0</TargetFramework>
5+
<LangVersion>8.0</LangVersion>
66
<IsPackable>false</IsPackable>
7-
87
<StartupObject></StartupObject>
98
</PropertyGroup>
109

azure-pipelines.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,41 @@ trigger:
33
include:
44
- master
55

6+
pr: none
7+
68
strategy:
79
matrix:
810
linux:
911
imageName: 'ubuntu-16.04'
1012
mac:
1113
imageName: 'macos-10.14'
1214
windows:
13-
imageName: 'win1803'
15+
imageName: 'windows-latest'
1416

1517
pool:
1618
vmImage: $(imageName)
1719

1820
variables:
19-
- group: SRLApiClient.Build
21+
- group: 'SRLApiClient.Build'
22+
- name: 'dotnetSdkVersion'
23+
value: '3.0.100-preview3-010431'
2024

2125
steps:
2226
- task: DotNetCoreInstaller@0
23-
displayName: 'Install .NET Core 2.2.106'
27+
displayName: 'Install .NET Core $(dotnetSdkVersion)'
2428
inputs:
25-
version: '2.2.106'
29+
version: '$(dotnetSdkVersion)'
2630
- task: DotNetCoreCLI@2
2731
displayName: 'Build SRLApiClient'
2832
inputs:
33+
version: '$(dotnetSdkVersion)'
2934
command: build
3035
projects: 'SRLApiClient/SRLApiClient.csproj'
3136
arguments: '-c $(BuildConfiguration)'
3237
- task: DotNetCoreCLI@2
3338
displayName: 'Build Tests'
3439
inputs:
40+
version: '$(dotnetSdkVersion)'
3541
command: build
3642
projects: 'Tests/Tests.csproj'
3743
arguments: '-c $(BuildConfiguration)'
@@ -41,6 +47,7 @@ steps:
4147
SRLUsername: '$(SRLUsername)'
4248
SRLPassword: '$(SRLPassword)'
4349
inputs:
50+
version: '$(dotnetSdkVersion)'
4451
command: test
4552
projects: 'Tests/Tests.csproj'
4653
arguments: '-c $(BuildConfiguration) --no-build'
@@ -54,4 +61,4 @@ steps:
5461
inputs:
5562
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
5663
ArtifactName: 'SRLApiClientArtifact'
57-
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
64+
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))

global.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)