Skip to content

Commit 9c2133f

Browse files
authored
Update to .NET 6.0 (#502)
* Update to .NET 6.0 windows-lastest used in Github actions is updated and do not support net core 3.1 anymore * fix test fail in ubuntu * update changelog
1 parent 37f457f commit 9c2133f

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ Merged [Pull Request](https://github.com/MethodsAndPractices/vsteam/pull/486) fr
88
Merged [Pull Request](https://github.com/MethodsAndPractices/vsteam/pull/485) from [Sebastian Schütze](https://github.com/SebastianSchuetze) the following:
99
- Added possibility to create, get and delete azure artifacts for projects [#379](https://github.com/MethodsAndPractices/vsteam/issues/379)
1010

11+
Merged [Pull Request](https://github.com/MethodsAndPractices/vsteam/pull/502) from [Miguel Nieto](https://github.com/mnieto) the following:
12+
- Updated test c# project to .NET 6.0
13+
- Fixed test fail on ubuntu-latest
1114

1215
## 7.9.0
1316

Tests/function/tests/Update-VSTeamProject.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Describe 'VSTeamProject' {
8484
## Assert
8585
Should -Invoke Invoke-RestMethod -Exactly -Times 1 -Scope It -ParameterFilter {
8686
$Uri -eq "https://dev.azure.com/test/_apis/projects/00000000-0000-0000-0000-000000000000?api-version=$(_getApiVersion Core)" -and
87-
$Method -eq 'Patch' -and $Body -like '*"visibility"*"public"}'
87+
$Method -eq 'Patch' -and $Body -like '*"visibility"*"public"*'
8888
}
8989
}
9090
}

Tests/library/vsteam-lib.Test.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

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
<RootNamespace>vsteam_lib.Test</RootNamespace>
66

77
<IsPackable>false</IsPackable>

0 commit comments

Comments
 (0)