Issue running tests.
Closed this issue · 1 comments
jvandervelden commented
I am having issues running the tests. I keep getting these errors running test.ps1:
ClientAttributeCertificate\KeycloakClientShould.cs(14,51): error CS8306: Tuple element name 'Id' is inferred. Please use language version 7.1 or greater to access an element by its inferred name. [D:\repos\Keycloak.Net\test\Keycloak.Net.Tests\Keycloak.Net.Tests.csproj]
ClientAttributeCertificate\KeycloakClientShould.cs(14,51): error CS8306: Tuple element name 'Key' is inferred. Please use language version 7.1 or greater to access an element by its inferred name. [D:\repos\Keycloak.Net\test\Keycloak.Net.Tests\Keycloak.Net.Tests.csproj]
I have dotnet core sdk 1.1.13 installed:
PS D:\repos\Keycloak.Net\test\Keycloak.Net.Tests> dotnet --info
.NET Command Line Tools (1.1.13)
Product Information:
Version: 1.1.13
Commit SHA-1 hash: b5abece65c
Runtime Environment:
OS Name: Windows
OS Version: 10.0.16299
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\1.1.13
Host (useful for support):
Version: 3.0.0
Commit: 7d57652f33
.NET Core SDKs installed:
1.1.13 [C:\Program Files\dotnet\sdk]
2.0.2 [C:\Program Files\dotnet\sdk]
...
Is there something up with my environment?
kowalej commented
You should bump up your SDK version if you want to support C# 7.1 language features. I believe you'll have to go to .NET Core 2.1 or higher.