Skip to content

Commit 359b8ee

Browse files
committed
Updated azure devops CI to install .net6.
1 parent 2bc4bcc commit 359b8ee

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

Diff for: .azure-pipelines/sipsorcery-core.yml

+11-2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,16 @@ variables:
2727
buildConfiguration: 'Release'
2828

2929
steps:
30+
31+
# Install required version of .NET.
32+
- task: UseDotNet@2
33+
displayName: 'Use .NET6 sdk'
34+
inputs:
35+
packageType: sdk
36+
version: 6.x
37+
includePreviewVersions: true
38+
installationPath: $(Agent.ToolsDirectory)/dotnet
39+
3040
#- task: NuGetToolInstaller@1
3141

3242
#- task: NuGetCommand@2
@@ -45,8 +55,7 @@ steps:
4555
inputs:
4656
command: test
4757
projects: test/unit/SIPSorcery.UnitTests.csproj
48-
arguments: --framework netcoreapp3.1
49-
58+
arguments: --framework net6.0
5059
#Reference: https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/test/vstest?view=azure-devops
5160
#- task: VSTest@2
5261
# inputs:

0 commit comments

Comments
 (0)